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/')
},
resolve: {
extensions: ['.js', '.vue'],
extensions: ['.js', '.json', '.vue'],
// Disable for now
alias: {
'~': join(this.srcDir),