1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
epp/frontend/vue.config.js

19 lines
513 B
JavaScript
Raw Normal View History

2022-10-21 14:51:17 +08:00
const { defineConfig } = require('@vue/cli-service')
2022-10-21 15:48:56 +08:00
const AutoImport = require('unplugin-auto-import/webpack')
const Components = require('unplugin-vue-components/webpack')
const { ElementPlusResolver } = require('unplugin-vue-components/resolvers')
2022-10-21 14:51:17 +08:00
module.exports = defineConfig({
2022-10-21 15:48:56 +08:00
transpileDependencies: true,
configureWebpack: {
plugins: [
AutoImport({
resolvers: [ElementPlusResolver()],
}),
Components({
resolvers: [ElementPlusResolver()],
}),
],
},
2022-10-21 14:51:17 +08:00
})