mirror of https://github.com/nuxt/nuxt.git
Add .json extension
This commit is contained in:
parent
f8c7b5c012
commit
b71b8b7478
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue