Skip to content

Update start.md #107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/start.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## 如何得到一个干净的工程结构

0. **routers**目录为页面文件夹,**routes**下的index.js为页面配置文件,除了这个文件,其它文件都是可选的。**Blank**,是一个空页面示例,我们可以复制这个快速生成一个路由页面。**Login**,是登录页面;**Register**是注册页面。
0. **routes**目录为页面文件夹,**routes**下的index.js为页面配置文件,除了这个文件,其它文件都是可选的。**Blank**,是一个空页面示例,我们可以复制这个快速生成一个路由页面。**Login**,是登录页面;**Register**是注册页面。
1. 留下我们需要的页面,把其它多余的文件夹删掉。
2. 打开**routes**下的**index.js**,我们要在这里面配置路由页面:
``` js
Expand Down