[Vuejs]-Chunks file urls problem in laravel and vuejs

0👍

problem solved by adding output.publicPath property in webpackconfig

mix.webpackConfig({
  output: {
    publicPath: 'https://novintech.info/info/public/',
  }
});

0👍

Once you ran the production script, go to the file generated folder public/, open the file app.js in an editor.
Research for js/chunk and replace it by info/public/js/chunk.

Leave a comment