refactor: 教程重组为在线教程与本地工具两部分,导航栏新增"工具使用"

- 导航栏新增"工具使用"入口(docs/tools)
- 本地工具:install(nodejs/vscode)、git、nvm、docker、prisma、vscode 排错、linux alias
- 在线教程保留 web、full_guide、full-stack、advance
- 修复 prisma 文档指向旧 recipes 路径的失效链接
- 更新 README/TODO 说明两部分定位,同步 yarn.lock

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
cqh963852andCopilot committed 2026-08-19 13:43:16 +08:00
1 parent 1042c0536e
commit 43581b238c
44 files changed
+12149 -8910

No files matched your search

+17 -3
View File
@@ -1,14 +1,28 @@
# [教程访问地址](https://idealjs.github.io/stack/)
# 路线图
- [ ] 调整结构,更改 [顶部导航栏](#顶部导航栏)
- [x] 调整结构,更改 [顶部导航栏](#顶部导航栏)
- [ ] 入门教程补充一些视频,便于跟随操作
- [ ] 在线教程增加在线预览能力(如 stackblitz 沙盒)
- [ ] 升级框架
# 顶部导航栏
1. 入门教程
2. 专业教程
1. 全栈教程(在线教程)
2. 工具使用(本地工具)
3. 博客
## 在线教程
即导航栏中的 **全栈教程**(含入门教程、专业教程)。
未来会增加在线预览能力,读者可以直接在浏览器中运行、查看示例结果。
## 本地工具
即导航栏中的 **工具使用**。
这部分内容需要读者 **自己在本地安装、配置并实践操作**(如 nodejs、vscode、git、nvm、docker、prisma 等),无法仅通过阅读掌握。
## 入门教程
+2
View File
@@ -1,5 +1,7 @@
# 全栈工程师路线图
> 教程分为两个方面:在线教程(全栈教程,未来支持在线预览)与本地工具(工具使用,需读者本地实践)。
## 前端
@@ -1,6 +1,6 @@
{
"label": "高级教程",
"position": 6,
"position": 5,
"link": {
"type": "generated-index"
}
@@ -1,7 +0,0 @@
{
"label": "操作指南",
"position": 4,
"link": {
"type": "generated-index"
}
}
@@ -1,8 +0,0 @@
{
"label": "docker工具",
"position": 7,
"link": {
"type": "generated-index"
}
}
@@ -1,7 +0,0 @@
{
"label": "Prisma工具",
"position": 10,
"link": {
"type": "generated-index"
}
}
@@ -1,7 +0,0 @@
{
"label": "参考资料",
"position":5,
"link": {
"type": "generated-index"
}
}
@@ -1,7 +0,0 @@
{
"label": "vscode插件异常",
"position": 1,
"link": {
"type": "generated-index"
}
}
@@ -1,7 +0,0 @@
{
"label": "Alias命令",
"position": 2,
"link": {
"type": "generated-index"
}
}
@@ -1,6 +1,6 @@
{
"label": "工具",
"position": 5,
"label": "工具使用",
"position": 4,
"link": {
"type": "generated-index"
}
@@ -0,0 +1,7 @@
{
"label": "Docker",
"position": 4,
"link": {
"type": "generated-index"
}
}
@@ -0,0 +1,7 @@
{
"label": "Git",
"position": 2,
"link": {
"type": "generated-index"
}
}
@@ -0,0 +1,19 @@
---
sidebar_position: 1
---
# 工具使用
本章节为 **本地工具** 教程,需要读者在自己的电脑上安装、配置并实践操作。
与在线教程不同,这些内容无法仅通过阅读掌握,请务必在本地环境中跟随练习。
## 内容
1. [安装工具(nodejs、vscode)](./install/nodejs.md)
2. [Git](./git/index.mdx)
3. [NVM](./nvm/install_nvm.md)
4. [Docker](./docker/install.md)
5. [Prisma](./prisma/prisma.md)
6. [VSCode 常见问题](./vscode/exception)
7. [Linux Alias](./linux/alias.md)
@@ -0,0 +1,7 @@
{
"label": "Linux",
"position": 7,
"link": {
"type": "generated-index"
}
}
@@ -0,0 +1,7 @@
{
"label": "NVM",
"position": 3,
"link": {
"type": "generated-index"
}
}
@@ -0,0 +1,7 @@
{
"label": "Prisma",
"position": 5,
"link": {
"type": "generated-index"
}
}
@@ -13,7 +13,7 @@ sidebar_position: 1
5. 确认已启动数据库
>**提示**
如果不知道怎么启动数据库,可以参考使用 [Docker启动数据库](/docs/recipes/docker/start)文档
如果不知道怎么启动数据库,可以参考使用 [Docker启动数据库](/docs/tools/docker/start)文档
## 项目初始化
- 打开Next.js项目
@@ -0,0 +1,7 @@
{
"label": "VSCode",
"position": 6,
"link": {
"type": "generated-index"
}
}
@@ -85,6 +85,12 @@ const config: Config = {
position: "left",
label: "全栈教程",
},
{
type: "doc",
docId: "tools/index",
position: "left",
label: "工具使用",
},
{ to: "/blog", label: "博客", position: "left" },
{
href: "https://github.com/idealjs/stack",
+12059 -8860
View File
File diff suppressed because it is too large. Load diff