mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-28 11:24:50 +00:00
Add root preinstall to set githooks and disable parallel vp config git lock races; merge per-app Cursor thin rules into app.mdx; keep template READMEs free of monorepo-only paths and describe basic as default English rather than English-only. Co-authored-by: Cursor <cursoragent@cursor.com>
28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
---
|
||
title: 模板列表
|
||
sidebarTitle: 模板列表
|
||
description: Basic 与 With Lingui 的选型与差异总览
|
||
asIndexPage: true
|
||
---
|
||
|
||
# 模板列表
|
||
|
||
以下字段以仓库内 **`package.json`** 与 **`src/stores/settings.ts`** 为准。
|
||
|
||
| 项目 | `apps/basic` | `apps/with-lingui` |
|
||
|------|----------------|---------------------|
|
||
| **package.json `name`** | `antd-admin-basic` | `antd-admin` |
|
||
| **Lingui(i18n)** | 无内置(默认英文界面) | 有(`@lingui/core`、`@lingui/react`,en / zh) |
|
||
| **Ant Design `ConfigProvider` locale** | 固定 `antd/locale/en_US` | 随设置切换:`en` → `en_US`,`zh` → `zh_CN`(见 `src/routes/__root.tsx`) |
|
||
| **Zustand persist(settings)`name`** | `settings-storage-basic` | `settings-storage` |
|
||
|
||
## 选型建议
|
||
|
||
- 希望先上手完整模板、默认英文、后续可自行加 i18n:选 **[Basic](/templates/basic)**。
|
||
- 需要开箱即用的中英文切换、Lingui 工作流与 Ant Design 随语言联动:选 **[With Lingui](/templates/with-lingui)**。
|
||
|
||
## 子页面
|
||
|
||
- [Basic 模板](/templates/basic)
|
||
- [With Lingui 模板](/templates/with-lingui)
|