mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +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/')
|
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),
|
||||||
|
Loading…
Reference in New Issue
Block a user