css do not generate at vite libray mode #17040
JustGitUserAccount
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Tailwind do not generate css for class in vue template.
I build component library at vite libray mode
for example
After building in dist I have just someOwnClass styles from <style></style> block, and no classes from tailwind
And when I use my library at another project, tailwind classes from it empty. Because my library do not have them. My library look broken without tailwind styles.
At tailwind 3 I used styles from my library on another project with config like that and that worked well
Beta Was this translation helpful? Give feedback.
All reactions