diff --git a/docs/web/CAP.png b/docs/advance/CAP.png similarity index 100% rename from docs/web/CAP.png rename to docs/advance/CAP.png diff --git a/docs/advance/_category_.json b/docs/advance/_category_.json new file mode 100644 index 0000000..02cea3d --- /dev/null +++ b/docs/advance/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "高级教程", + "position": 5, + "link": { + "type": "generated-index" + } +} diff --git a/docs/web/协同编程探索.mm.md b/docs/advance/协同编程探索.mm.md similarity index 100% rename from docs/web/协同编程探索.mm.md rename to docs/advance/协同编程探索.mm.md diff --git a/docs/full-stack/_category_.json b/docs/full-stack/_category_.json new file mode 100644 index 0000000..da3c86f --- /dev/null +++ b/docs/full-stack/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "全栈基础", + "position": 3, + "link": { + "type": "generated-index" + } +} diff --git a/docs/Tools/_category_.json b/docs/tools/_category_.json similarity index 76% rename from docs/Tools/_category_.json rename to docs/tools/_category_.json index 4b6f98f..f080396 100644 --- a/docs/Tools/_category_.json +++ b/docs/tools/_category_.json @@ -1,5 +1,5 @@ { - "label": "Tools", + "label": "工具", "position": 3, "link": { "type": "generated-index" diff --git a/docs/Tools/post-1-1.png b/docs/tools/post-1-1.png similarity index 100% rename from docs/Tools/post-1-1.png rename to docs/tools/post-1-1.png diff --git a/docs/Tools/post-1-2.png b/docs/tools/post-1-2.png similarity index 100% rename from docs/Tools/post-1-2.png rename to docs/tools/post-1-2.png diff --git a/docs/Tools/post-1.mdx b/docs/tools/post-1.mdx similarity index 100% rename from docs/Tools/post-1.mdx rename to docs/tools/post-1.mdx diff --git a/docs/web/hello_react/difference.md b/docs/web/hello_react/how_react_start.md similarity index 92% rename from docs/web/hello_react/difference.md rename to docs/web/hello_react/how_react_start.md index 96ec709..60fd9b7 100644 --- a/docs/web/hello_react/difference.md +++ b/docs/web/hello_react/how_react_start.md @@ -2,7 +2,7 @@ sidebar_position: 3 --- -# 相似与不同 +# 启动流程 React 的 App.js 和之前 hello_world 中的 index.html 有很大的不同 diff --git a/docs/web/hello_react/todo_app.md b/docs/web/hello_react/todo_app.md index 7ab60e5..86102c0 100644 --- a/docs/web/hello_react/todo_app.md +++ b/docs/web/hello_react/todo_app.md @@ -2,6 +2,11 @@ sidebar_position: 4 --- -# 待办列表 +# 快速实践 + +项目 +- 待办列表(Todo List) + +## 待办列表 待办列表是一个经典的入门 App,通过待办列表可以学到 React 所提供的基础函数 diff --git a/docs/web/hello_react/update.md b/docs/web/hello_react/update.md new file mode 100644 index 0000000..fc58d8e --- /dev/null +++ b/docs/web/hello_react/update.md @@ -0,0 +1,4 @@ +1. 创建 vite vanilla-js 工程。 + - 单独链接到快速创建命令篇。 +2. 按步引入 react 包。 +3. 快速创建命令,与执行效果。 diff --git a/docusaurus.config.js b/docusaurus.config.js index 2351e71..e69347c 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -51,7 +51,7 @@ const config = { type: "doc", docId: "index", position: "left", - label: "GET STARTED", + label: "快速开始", }, { href: "https://github.com/idealjs/full-stack-tutorial", diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 5cab006..4e46ad3 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -39,7 +39,7 @@ const HomePageHeader = () => { const Home = () => { const { siteConfig } = useDocusaurusContext(); return ( - + );