DEV Community

Discussion on: Vue Application as a Wordpress Plugin

Collapse
 
franckysmith profile image
franckysmith

Hi Paloma, and thanks for your response?
Finaly I fixed all:
for the style css I add in wp-vue.php: wp_register_style( 'stylesheet', plugins_url( 'dist/css/app.css' , FILE ) ); and
wp_enqueue_style( 'stylesheet' );
and for the image I put the img folder next to wp-content , wp-admin ...
of course it should be better if we could let it in the dist folder ... but for now it works fine
thanks again

Thread Thread
 
dgmann profile image
DGMANN

Happy to hear that! :)
And you are right. Maybe this solution helps you: stackoverflow.com/questions/522163...