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

Importing CSS from package #489

Closed
rubensilva3 opened this issue Nov 26, 2024 · 1 comment
Closed

Importing CSS from package #489

rubensilva3 opened this issue Nov 26, 2024 · 1 comment

Comments

@rubensilva3
Copy link

I'm integrating with the vue-tel-input and while the docs mention that you should import css like this:
import 'vue-tel-input/dist/vue-tel-input.css';

This causes an error in vite:

Screenshot 2024-11-26 at 10 37 31

And I see that in package exports it's like this:
Screenshot 2024-11-26 at 10 38 18

So the import works as import 'vue-tel-input/vue-tel-input.css';, I think the docs should say this to not be misleading :)

Thanks

@iamstevendao
Copy link
Owner

@rubensilva3 thanks for raising this, it's fixed now!

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

2 participants