Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 438 Bytes

README.md

File metadata and controls

17 lines (16 loc) · 438 Bytes

nuxt-client-import-issue

Solved by add a Webpack configuration.

  build: {
    /*
    ** You can extend webpack config here
    */
    extend(config, ctx) {
      if (process.env.NODE_ENV === 'debug') {
        config.devtools = ctx.isClient ? 'eval-source-map' : 'inline-source-map'
      }
      // Webpack resolve symlinks as relative path instead of node_modules path. 
      config.resolve.symlinks = false
    }
  }