Skip to content

Fnxxxxo/nuxt-client-import-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    }
  }

About

Reproduce import issue of Nuxt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published