From b0a77baa7d3dce3bceeab3f1dc72382cab6ddfd9 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 2 Sep 2025 10:32:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BD=BF=E7=94=A8=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E5=8A=A8=E6=80=81=E8=AE=BE=E7=BD=AE=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在index.html中使用%VITE_APP_TITLE%占位符替换硬编码的标题 修改vite.config.ts以在构建时将占位符替换为环境变量中的实际值 --- index.html | 2 +- vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 2e368d0..b943058 100644 --- a/index.html +++ b/index.html @@ -14,7 +14,7 @@ '" />', ) -