Changing tailwind styles in an included library don't compile. #13576
Unanswered
TristanBrotherton
asked this question in
Help
Replies: 1 comment 4 replies
-
Hey @TristanBrotherton! How do you link the application and the library? Do you use |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a custom svelte UI library that I develop alongside my main project. I have my UI library automatically reloading inside the main project with
svelte-package --watch
So as I make changes my main project will reload them from the package.Im my main project I have my
tailwind.config.cjs
specify the path to my custom UI library:If I make a change to my custom UI library, i see the classes update in my project straight away. However they will only render if they are included in the project already. If I add a new class that is not already in use it will not be compiled unless I restart my server. I'm at a bit of a loss as to how to fix this so that the classes are rendered in real-time.
Beta Was this translation helpful? Give feedback.
All reactions