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 */
|
/** 配置项文档:https://vitejs.dev/config */
|
||||||
export default (env: ConfigEnv): UserConfigExport => {
|
export default (env: ConfigEnv): UserConfigExport => {
|
||||||
return {
|
return {
|
||||||
|
/** build 打包时根据实际情况修改 base */
|
||||||
|
base: '/',
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
/** @ 符号指向 src 目录 */
|
/** @ 符号指向 src 目录 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user