We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74b1983 commit f23d2fdCopy full SHA for f23d2fd
.github/workflows/deploy.yml
@@ -13,7 +13,7 @@ jobs:
13
uses: actions/checkout@v2
14
15
- name: build
16
- run: npm install && npm run build
+ run: npm install && npm run build:github # 部署至GitHub需要配置,base路径
17
18
- name: Deploy
19
uses: peaceiris/actions-gh-pages@v3
package.json
@@ -28,6 +28,7 @@
28
"dev": "vite",
29
"build": "vite build",
30
"build:check":"vue-tsc --noEmit && vite build",
31
+ "build:github":"vite build --base=/vite-vue3-ts/",
32
"build:no-cache": "yarn clean:cache && npm run build",
33
"preview": "vite preview",
34
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
src/assets/images/login_logo.png
-1 KB
0 commit comments