diff --git a/lib/webpack/base.config.js b/lib/webpack/base.config.js index ef26c43071..017f7e99ae 100644 --- a/lib/webpack/base.config.js +++ b/lib/webpack/base.config.js @@ -36,7 +36,7 @@ export default function ({ isClient, isServer }) { 'assets': join(this.srcDir, 'assets'), // use in template with '~assets': join(this.srcDir, 'assets'), '~plugins': join(this.srcDir, 'plugins'), - '~store': join(this.srcDir, 'store'), + '~store': join(this.dir, '.nuxt/store'), '~router': join(this.dir, '.nuxt/router'), '~pages': join(this.srcDir, 'pages'), '~components': join(this.srcDir, 'components')