Add .json extension

This commit is contained in:
Sébastien Chopin 2016-12-12 16:30:17 +01:00
parent f8c7b5c012
commit b71b8b7478

View File

@ -24,7 +24,7 @@ module.exports = function () {
publicPath: urlJoin(this.options.router.base, '/_nuxt/') publicPath: urlJoin(this.options.router.base, '/_nuxt/')
}, },
resolve: { resolve: {
extensions: ['.js', '.vue'], extensions: ['.js', '.json', '.vue'],
// Disable for now // Disable for now
alias: { alias: {
'~': join(this.srcDir), '~': join(this.srcDir),