~store is now an alias for the store instance

This commit is contained in:
Sébastien Chopin 2017-02-01 00:22:02 +01:00
parent 8b484c0a8c
commit 5cd0827b20

View File

@ -36,7 +36,7 @@ export default function ({ isClient, isServer }) {
'assets': join(this.srcDir, 'assets'), // use in template with <img src="~static/nuxt.png" /> 'assets': join(this.srcDir, 'assets'), // use in template with <img src="~static/nuxt.png" />
'~assets': join(this.srcDir, 'assets'), '~assets': join(this.srcDir, 'assets'),
'~plugins': join(this.srcDir, 'plugins'), '~plugins': join(this.srcDir, 'plugins'),
'~store': join(this.srcDir, 'store'), '~store': join(this.dir, '.nuxt/store'),
'~router': join(this.dir, '.nuxt/router'), '~router': join(this.dir, '.nuxt/router'),
'~pages': join(this.srcDir, 'pages'), '~pages': join(this.srcDir, 'pages'),
'~components': join(this.srcDir, 'components') '~components': join(this.srcDir, 'components')