mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-02-28 09:27:07 +08:00
feat: baseURL改为 ./
This commit is contained in:
parent
1e308540ac
commit
2316bc4cad
2
.github/workflows/page.yml
vendored
2
.github/workflows/page.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
||||
run: |
|
||||
npm i -g pnpm@7.27.0
|
||||
pnpm i
|
||||
pnpm build-gh
|
||||
pnpm build
|
||||
|
||||
# 执行部署
|
||||
- name: 部署
|
||||
|
@ -6,8 +6,6 @@
|
||||
"scripts": {
|
||||
"dev": "ts-node-esm script/dev.ts",
|
||||
"build": "vue-tsc && vite build && ts-node-esm script/build.ts dist",
|
||||
"build-gh": "vue-tsc && vite build --base=/HumanBreak/ && ts-node-esm script/build.ts gh",
|
||||
"build-local": "vue-tsc && vite build --base=/ && ts-node-esm script/build.ts local",
|
||||
"preview": "vite preview",
|
||||
"update": "ts-node-esm script/update.ts",
|
||||
"declare": "ts-node-esm script/declare.ts",
|
||||
|
@ -22,7 +22,7 @@ export default defineConfig({
|
||||
}),
|
||||
components({ resolvers: [AntDesignVueResolver()] })
|
||||
],
|
||||
base: `/games/${motaConfig.name}/`,
|
||||
base: `./`,
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': resolve(__dirname, './src'),
|
||||
|
Loading…
Reference in New Issue
Block a user