Skip to content

localhost:8080 list files #29

@rabichawila

Description

@rabichawila

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions