Godofbrowser / vuejs-dialog

A lightweight, promise based alert, prompt and confirm dialog
MIT License
351 stars 111 forks source link

Default style not loading #46

Open spaquet opened 5 years ago

spaquet commented 5 years ago

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 commented 5 years ago

same here..

gautamc1106 commented 5 years ago

same here

Godofbrowser commented 5 years ago

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

gautamc1106 commented 5 years ago

Does not work!

Godofbrowser commented 5 years ago

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

gautamc1106 commented 5 years ago

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 commented 5 years ago

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

gautamc1106 commented 5 years ago

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

Godofbrowser commented 5 years ago

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

Godofbrowser commented 5 years ago

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

gautamc1106 commented 5 years ago

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