更新 package.json 和 pnpm-lock.yaml,添加 class-variance-authority 依赖;修改 main.tsx 中的 basename 引入方式;新增 theme.css 样式文件

This commit is contained in:
2026-02-04 19:51:05 +08:00
parent 925bf7aab2
commit 92b9c3315b
6 changed files with 114 additions and 2 deletions

10
pnpm-lock.yaml generated
View File

@@ -17,6 +17,9 @@ importers:
'@tanstack/react-router':
specifier: ^1.158.0
version: 1.158.0(react-dom@19.2.4(react@19.2.4))(react@19.2.4)
class-variance-authority:
specifier: ^0.7.1
version: 0.7.1
clsx:
specifier: ^2.1.1
version: 2.1.1
@@ -1197,6 +1200,9 @@ packages:
resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==}
engines: {node: '>= 8.10.0'}
class-variance-authority@0.7.1:
resolution: {integrity: sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==}
clsx@1.2.1:
resolution: {integrity: sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==}
engines: {node: '>=6'}
@@ -2910,6 +2916,10 @@ snapshots:
optionalDependencies:
fsevents: 2.3.3
class-variance-authority@0.7.1:
dependencies:
clsx: 2.1.1
clsx@1.2.1: {}
clsx@2.1.1: {}