微信配置

This commit is contained in:
2026-04-16 17:54:09 +08:00
parent 23f5d564f1
commit 05951db845
9 changed files with 706 additions and 6 deletions

View File

@@ -1,8 +1,14 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { fileURLToPath } from 'node:url'
// https://vite.dev/config/
export default defineConfig({
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
server: {
allowedHosts: ["duooomi.com"]
},