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