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:
parent
7b0af6bfc4
commit
97578ae5da
@ -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 目录 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user