diff --git a/vite.config.js b/vite.config.js index 1cac81a..83d8fbf 100644 --- a/vite.config.js +++ b/vite.config.js @@ -3,7 +3,6 @@ import { fileURLToPath, URL } from 'node:url' import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' - // https://vite.dev/config/ export default defineConfig({ plugins: [ @@ -15,6 +14,7 @@ export default defineConfig({ '@': fileURLToPath(new URL('./src', import.meta.url)) }, }, + base: '/crowdfunding/', // 设置资源的基础路径 server: { // proxy: { // '/api': {