From 03889a039ae6b04d30844ea245bd1e4640a495f9 Mon Sep 17 00:00:00 2001 From: York Date: Thu, 20 Feb 2025 13:49:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A5=E5=8F=A3=E6=96=87=E4=BB=B6=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 3 +-- vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index e4b78ea..05d9e28 100644 --- a/index.html +++ b/index.html @@ -2,9 +2,8 @@ - - Vite + React + TS + 牛子小助手
diff --git a/vite.config.ts b/vite.config.ts index 8b0f57b..a1ac7ef 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,7 +1,7 @@ import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' -// https://vite.dev/config/ export default defineConfig({ plugins: [react()], + base: './', // 添加这一行 })