vuejs-dialog icon indicating copy to clipboard operation
vuejs-dialog copied to clipboard

Default style not loading

Open spaquet opened this issue 7 years ago • 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?

spaquet avatar Nov 02 '18 20:11 spaquet

same here..

GergelyLakatos avatar Nov 06 '18 12:11 GergelyLakatos

same here

gautamc1106 avatar Nov 27 '18 21:11 gautamc1106

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

Godofbrowser avatar Nov 27 '18 21:11 Godofbrowser

Does not work!

gautamc1106 avatar Nov 27 '18 22:11 gautamc1106

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

Godofbrowser avatar Nov 27 '18 22:11 Godofbrowser

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 avatar Nov 27 '18 22:11 gautamc1106

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

gautamc1106 avatar Nov 27 '18 23:11 gautamc1106

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

gautamc1106 avatar Nov 27 '18 23:11 gautamc1106

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

Godofbrowser avatar Nov 27 '18 23:11 Godofbrowser

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

Godofbrowser avatar Nov 27 '18 23:11 Godofbrowser

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

gautamc1106 avatar Nov 28 '18 00:11 gautamc1106