Skip to content Skip to sidebar Skip to footer

Unable To Acess Links (copying And Pasting) Whitin My Site : Node.js - Express.js - Webpack - Vue.js - Historymode

I recently created a website with base on Node.js, Express.js and Vue.js with router in history mode and Webpack. Since is a Single Page Application, I installed express-history-ap

Solution 1:

[SOLUTION]

The Problem was related to the configuration of Webpack! If anyone is facing the same problem, just set the PublicPath : '/'

  output: {
    publicPath: '/',
    path: config.build.assetsRootMain,
    filename: utils.assetsPath('js/[name].[chunkhash].js'),
    chunkFilename: utils.assetsPath('js/[id].[chunkhash].js')
  },

Post a Comment for "Unable To Acess Links (copying And Pasting) Whitin My Site : Node.js - Express.js - Webpack - Vue.js - Historymode"