Remove ~store & ~router

This commit is contained in:
Sébastien Chopin 2017-06-19 20:20:51 +02:00
parent 3a03b57339
commit 4f9684e117
2 changed files with 1 additions and 5 deletions

View File

@ -23,9 +23,7 @@
"~middleware/*": ["./middleware/*"], "~middleware/*": ["./middleware/*"],
"~pages/*": ["./pages/*"], "~pages/*": ["./pages/*"],
"~plugins/*": ["./plugins/*"], "~plugins/*": ["./plugins/*"],
"~static/*": ["./static/*"], "~static/*": ["./static/*"]
"~store": ["./.nuxt/store"],
"~router": ["./.nuxt/router"]
} }
} }
} }

View File

@ -54,8 +54,6 @@ export default function webpackBaseConfig ({ isClient, isServer }) {
'assets': join(this.options.srcDir, 'assets'), // use in template with <img src="~assets/nuxt.png" /> 'assets': join(this.options.srcDir, 'assets'), // use in template with <img src="~assets/nuxt.png" />
'~assets': join(this.options.srcDir, 'assets'), '~assets': join(this.options.srcDir, 'assets'),
'~plugins': join(this.options.srcDir, 'plugins'), '~plugins': join(this.options.srcDir, 'plugins'),
'~store': join(this.options.buildDir, 'store'),
'~router': join(this.options.buildDir, 'router'),
'~pages': join(this.options.srcDir, 'pages'), '~pages': join(this.options.srcDir, 'pages'),
'~components': join(this.options.srcDir, 'components') '~components': join(this.options.srcDir, 'components')
}, },