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
I am running WordPress in Nginx. installed everything like it's said in the doc.
Enabled dev mode
then
Now when i visit
http://localhost:8080/
i get directory list, but when i visit mysite.local i get plainwordpress
without any vueJs component