fix: error alias in vue-class-component example

This commit is contained in:
Clark Du 2017-10-19 16:57:08 +08:00
parent 2f670c5ef7
commit dca0bd9a70
No known key found for this signature in database
GPG Key ID: D0E5986AF78B86D9

View File

@ -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'
} }
} }
} }