Nuxt/examples/vue-class-component/nuxt.config.js

11 lines
246 B
JavaScript
Raw Normal View History

2017-04-14 14:47:21 +00:00
module.exports = {
build: {
babel: {
2017-04-17 16:15:55 +00:00
plugins: ['transform-decorators-legacy', 'transform-class-properties']
2017-04-14 14:47:21 +00:00
},
extend (config) {
config.resolve.alias['nuxt-class-component'] = '~plugins/nuxt-class-component'
}
}
}