Dynamic Route added to CSS and JS paths on page refresh Webpack with Vuejs
You need to update the webpack.config.js file and add the publicPath
output: { path: path.resolve(__dirname, './dist'), filename: 'lib/js/build.js', publicPath: '/' // <----- Problem was here. This was missing. }
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.
Yes0
No0