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

Default style not loading #46

Open
spaquet opened this issue Nov 2, 2018 · 11 comments
Open

Default style not loading #46

spaquet opened this issue Nov 2, 2018 · 11 comments

Comments

@spaquet
Copy link

spaquet commented Nov 2, 2018

main.js

import 'vuetify/dist/vuetify.min.css'
import 'vuejs-dialog/dist/vuejs-dialog.min.css'

However the style is not applied to dialogs when they are showing up. Any idea why since everything else is working as expected?

@GergelyLakatos
Copy link

same here..

@gautamc1106
Copy link

same here

@Godofbrowser
Copy link
Owner

Godofbrowser commented Nov 27, 2018

Can you try loading the style via html tag pending when this is resolved?

@gautamc1106
Copy link

Does not work!

@Godofbrowser
Copy link
Owner

Okay, can you help me? want to try reproduce the issue ... how are you using the lib?

@gautamc1106
Copy link

All I was doing initially is
import 'vuejs-dialog/vuejs-dialog.min.css'

and the following error wuld pop up:
Module not found: Error: Can't resolve 'vuejs-dialog/vuejs-dialog.min.css'

@gautamc1106
Copy link

I see the file in the module, but for some reason it is not detected

@gautamc1106
Copy link

I finally got it to work by loading the style sheet but the import fails

@Godofbrowser
Copy link
Owner

Actually, this is what's supposed to be the right path vuejs-dialog/dist/vuejs-dialog.min.css

@Godofbrowser
Copy link
Owner

What do you mean by "the import fails"? is your bundler configured to load css files?

@gautamc1106
Copy link

Yes. I did realised and that's how I fixed it. But when I use the same statement as
import "vuejs-dialog/dist/vuejs-dialog.min.css" it fails to import it

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

4 participants