vue-wordpress icon indicating copy to clipboard operation
vue-wordpress copied to clipboard

localhost:8080 list files

Open rabichawila opened this issue 4 years ago • 1 comments

I am running WordPress in Nginx. installed everything like it's said in the doc.

Enabled dev mode

// Enable For Production - Disable for Development
// wp_enqueue_script('vue_wordpress.js', get_template_directory_uri() . '/dist/vue-wordpress.js', array(), null, true);

// Enable For Development - Remove for Production
wp_enqueue_script( 'vue_wordpress.js', 'http://localhost:8080/vue-wordpress.js', array(), false, true );

then

npm run dev

http://localhost:8080/

Now when i visit http://localhost:8080/ i get directory list, but when i visit mysite.local i get plain wordpress without any vueJs component

rabichawila avatar Jul 11 '20 13:07 rabichawila

Same

goodpenguins avatar Sep 17 '20 00:09 goodpenguins