Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-21 11:29:20 +08:00

chore: 配置 base

This commit is contained in:
pany 2022-04-21 17:34:27 +08:00
parent 7b0af6bfc4
commit 97578ae5da

View File

@ -9,6 +9,8 @@ import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
/** 配置项文档https://vitejs.dev/config */
export default (env: ConfigEnv): UserConfigExport => {
return {
/** build 打包时根据实际情况修改 base */
base: '/',
resolve: {
alias: {
/** @ 符号指向 src 目录 */