Godofbrowser/vuejs-dialog

Default style not loading

spaquet opened this issue · 11 comments

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?

same here..

same here

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

Does not work!

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

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'

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

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

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

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

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