适配ios端

This commit is contained in:
qaq
2025-08-21 15:40:35 +08:00
parent 821ab5c76b
commit 6c4f9cd24c
15 changed files with 256 additions and 216 deletions
+5 -1
View File
@@ -1,10 +1,14 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import path from "path";
import legacy from '@vitejs/plugin-legacy'
export default defineConfig({
plugins: [
react()
react(),
legacy({
targets: ['defaults', 'not IE 11']
})
],
base: './',
resolve: {