[Vuejs]-Webpack bundle looking for 2.bundle.js in the wrong location

0👍

Nevermind. I found the answer.

In your webpack.config.js file,

output: {
    path: path.resolve( __dirname, './js' ),
    filename: '[name].bundle.js',
    publicPath: './wp-content/themes/dist/js/'
},

Leave a comment