How does one go about making a component library using this inside of svelte-package
?
#873
Unanswered
victormihalache
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried making a library using the library template when creating a Svelte app, and after setting up shadcn I must add in the tailwind config of the projects that consume this library this to
config.content
:./node_modules/<PACKAGE_NAME>/dist/**/*.{svelte,js}
. And, for reasons I don't want to look into now, some styles still get missed (even when I copy over the tailwind config with its theme from the one in the library).Is there any way I can make a component library using
svelte-package
such that when I build the consumer of the library just uses it without any further config that shouldn't concern them?Beta Was this translation helpful? Give feedback.
All reactions