Skip to content

Commit d5b4700

Browse files
author
老曼巴
committed
就爱修复工作流
1 parent ae36034 commit d5b4700

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

vite.config.ts

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
import { fileURLToPath, URL } from 'node:url'
1+
import {fileURLToPath, URL} from 'node:url'
22

3-
import { defineConfig } from 'vite'
3+
import {defineConfig} from 'vite'
44
import vue from '@vitejs/plugin-vue'
55
import vueDevTools from 'vite-plugin-vue-devtools'
66

77
// https://vite.dev/config/
88
export default defineConfig({
9-
plugins: [
10-
vue(),
11-
vueDevTools(),
12-
],
13-
resolve: {
14-
alias: {
15-
'@': fileURLToPath(new URL('./src', import.meta.url))
9+
base: '/NW/',
10+
plugins: [
11+
vue(),
12+
vueDevTools(),
13+
],
14+
resolve: {
15+
alias: {
16+
'@': fileURLToPath(new URL('./src', import.meta.url))
17+
},
1618
},
17-
},
1819
})

0 commit comments

Comments
 (0)