const { defineConfig } = require('@vue/cli-service')
const compiler = require('vue-template-babel-compiler')
module.exports = defineConfig({
transpileDependencies: true,
devServer: {
port: 3000
},
assetsDir: './src/assets',
chainWebpack: (config) => {
config.module
.rule('vue')
.use('vue-loader')
.tap((options) => {
options.compiler = compiler
return options
})
}
})