2 Star 0 Fork 273

zero_xiao/vue3-web-admin

forked from Asa/vue3-element-admin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vue.config.js 986 Bytes
一键复制 编辑 原始数据 按行查看 历史
rr 提交于 2022-08-29 15:52 . fix
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true
})
const AutoImport = require('unplugin-auto-import/webpack')
const Components = require('unplugin-vue-components/webpack')
const { ElementPlusResolver } = require('unplugin-vue-components/resolvers')
const NodePolyfillPlugin = require('node-polyfill-webpack-plugin')
module.exports = {
lintOnSave: false, // 关闭语法检查
configureWebpack: {
plugins: [
AutoImport({
resolvers: [ElementPlusResolver()]
}),
Components({
resolvers: [ElementPlusResolver()]
}),
new NodePolyfillPlugin()
],
// externals: {
// fs: require('fs')
// }
// resolve: {
// fallback:{
// fs: false
// }
// },
// externals: {
// './cptable': 'var cptable',
// },
},
// defineConfig:{
// transpileDependencies: true
// })
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/qingzhuge_com/vue3-web-admin.git
git@gitee.com:qingzhuge_com/vue3-web-admin.git
qingzhuge_com
vue3-web-admin
vue3-web-admin
dev

搜索帮助