LabEx/web/vue.config.js
KaiyuanOSG 9819b9b97a 2023.6.16
1. 精进了一些功能
2. 修复了一些BUG
3. 整合了前端
2023-06-16 23:33:04 +08:00

25 lines
612 B
JavaScript
Executable File

const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true
})
// module.exports = {
// chainWebpack: config => {
// config.module
// .rule('vue')
// .use('vue-loader')
// .tap(options => {
// options.compilerOptions.isCustomElement = tag => tag.startsWith('el-')
// return options
// })
//
// config.module
// .rule('ts')
// .use('ts-loader')
// .tap(options => {
// options.appendTsSuffixTo = [/\.vue$/]
// return options
// })
// }
// }