mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
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
Block a user