mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix: error alias in vue-class-component example
This commit is contained in:
parent
2f670c5ef7
commit
dca0bd9a70
@ -4,7 +4,7 @@ module.exports = {
|
|||||||
plugins: ['transform-decorators-legacy', 'transform-class-properties']
|
plugins: ['transform-decorators-legacy', 'transform-class-properties']
|
||||||
},
|
},
|
||||||
extend (config) {
|
extend (config) {
|
||||||
config.resolve.alias['nuxt-class-component'] = '~plugins/nuxt-class-component'
|
config.resolve.alias['nuxt-class-component'] = '@/plugins/nuxt-class-component'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user