-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shoelace integration #588
Comments
@RayyanNafees, do you mean adding examples for use with the Brisa CLI? We can do it, sure. Of course, any PR to add examples will be very welcome, feel free to add examples. About documentation, here is the documentation on how to add external WC: And this how to compile WC from Brisa WC to use it in other frameworks or vanillajs: |
No Actually integrating shoelace is quite complex thing to be done in frameworks, their Astro Integration also doesn't even function well despite being part of the official docs The only way to use it is by Astrolace integration that does pretty decent job for it to be used with Astro I would appreciate if the dev team does a test if it can be supported and hydrated over SSR with an example |
Ok, can be a great integration to have then. Thanks for the proposal |
I see that adding them in the There are things to fix:
Example Codeimport type { WebComponentIntegrations } from "brisa";
import "@shoelace-style/shoelace/dist/themes/light.css";
export default {
"sl-button": "@shoelace-style/shoelace/dist/components/button/button.js",
} satisfies WebComponentIntegrations; ResultHowever, using Shoelance right now in Brisa is possible. |
Is your feature request related to a problem? Please describe.
yes, Using external web-component library like Shoelace
& how to implement your own Lit.js components instead of making from vanilla js
Describe the solution you'd like
Adding docs support & examples for shoelace like u added for tailwind
Describe alternatives you've considered
none
The text was updated successfully, but these errors were encountered: