|
|
@ -7,6 +7,12 @@ import { ArcoResolver } from 'unplugin-vue-components/resolvers' |
|
|
|
import { vitePluginForArco } from '@arco-plugins/vite-vue' |
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({ |
|
|
|
publicDir: 'epmet-apartment-front', |
|
|
|
// Vite 配置中没有 outputDir 属性,应使用 build.outDir 来指定输出目录
|
|
|
|
build: { |
|
|
|
outDir: "epmet-apartment-front", |
|
|
|
target:['edge90','chrome90','firefox90','safari15'] |
|
|
|
}, |
|
|
|
plugins: [ |
|
|
|
vue(), |
|
|
|
//自动加载组件样式
|
|
|
@ -26,9 +32,6 @@ export default defineConfig({ |
|
|
|
], |
|
|
|
}), |
|
|
|
], |
|
|
|
build:{ |
|
|
|
target:['edge90','chrome90','firefox90','safari15'] |
|
|
|
}, |
|
|
|
resolve: { |
|
|
|
//配置路径别名
|
|
|
|
alias: [ |
|
|
|