Skip to content

Commit a4fcf34

Browse files
committed
update for vercel
1 parent 5ce9c27 commit a4fcf34

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.DS_Store

-2 KB
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"type-check": "vue-tsc --noEmit",
1111
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
1212
"format": "prettier --write src/",
13-
"deploy": "npm run build && git add docs/ && git commit -m \"Deploy to GitHub Pages\" && git push"
13+
"deploy": "npm run build"
1414
},
1515
"dependencies": {
1616
"vue": "^3.4.0",

vite.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { resolve } from 'path'
44

55
export default defineConfig({
66
plugins: [vue()],
7-
base: '/Frontend/', // 仓库名称
87
server: {
98
port: 3000,
109
host: true
@@ -17,7 +16,7 @@ export default defineConfig({
1716
build: {
1817
target: 'esnext',
1918
minify: 'esbuild',
20-
outDir: 'docs', // 输出到docs目录
19+
outDir: 'dist',
2120
rollupOptions: {
2221
output: {
2322
manualChunks: {

0 commit comments

Comments
 (0)