DEV Community

Discussion on: Vue Application as a Wordpress Plugin

Collapse
 
tcmartin24 profile image
Terry

franckysmith,

If you're saying you weren't able to get CSS working, I may be able to partially help. I've created a Vue/Quasar app and was able to load its CSS like this:

wp_register_style('wpvue_style1', plugin_dir_url( FILE ).'dist/spa/css/app.0e433876.css', true);

and

wp_enqueue_style('wpvue_style1');

per Paloma's guidance.

Collapse
 
franckysmith profile image
franckysmith

thanks Terry,
maybe you saw I found myself the same solution... or almost