init
This commit is contained in:
23
init.md
Normal file
23
init.md
Normal file
@@ -0,0 +1,23 @@
|
||||
## 初始化项目
|
||||
|
||||
```bash
|
||||
# 获取router-template的项目作为app模版
|
||||
git clone git@git.xiongxiao.me:tailored/router-template.git app
|
||||
|
||||
# 获取vite-react-template的项目作为web模版
|
||||
git clone git@git.xiongxiao.me:template/vite-react-template.git web
|
||||
|
||||
# 获取app-template的项目作为router-web模版
|
||||
git clone git@git.xiongxiao.me:tailored/app-template.git router-web
|
||||
|
||||
# 删除模版中的git目录
|
||||
rm -rf app/.git
|
||||
rm -rf web/.git
|
||||
rm -rf router-web/.git
|
||||
|
||||
```
|
||||
|
||||
|
||||
## router-template
|
||||
|
||||
1. 修改package.json中的name
|
||||
Reference in New Issue
Block a user