提交 493431b1 编写于 作者: Q qq_38870145

Sat Nov 25 23:23:00 CST 2023 inscode

上级 ee58aaea
...@@ -2,7 +2,7 @@ run = "yarn install && yarn dev" ...@@ -2,7 +2,7 @@ run = "yarn install && yarn dev"
language = "node" language = "node"
[deployment] [deployment]
build = "yarn install && yarn dev" build = "yarn install && yarn build"
run = "yarn preview" run = "yarn preview"
[env] [env]
......
...@@ -3,6 +3,8 @@ import vue from '@vitejs/plugin-vue' ...@@ -3,6 +3,8 @@ import vue from '@vitejs/plugin-vue'
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
// 打包相对路径
base: './',
server: { server: {
host: true, host: true,
proxy: { proxy: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册