Skip to content
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

Styles gone with NODE_ENV=production #121

Open
zach2825 opened this issue May 10, 2024 · 0 comments
Open

Styles gone with NODE_ENV=production #121

zach2825 opened this issue May 10, 2024 · 0 comments

Comments

@zach2825
Copy link

There was a recent minor update from 0.3.4 to 0.3.8, which changed how the styles are injected into the package. Using "vite-plugin-css-injected-by-js" in my builds, the styles are missing.

I'm not sure what details to add. I am using Postcss. I did try adding /v3dp/, into my purcecss.safelist array and a few other things. Nothing seems to have made a difference.

I also tried including the CSS in the package, specifically with import 'vue3-datepicker/dist/vue3-datepicker.css', but it made no difference.

I'm unsure what else to try besides manually copying the CSS from the package into the project. Any ideas/ suggestions are welcome.

Thanks in advanced.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant