Skip to content

Commit

Permalink
Update installation.md
Browse files Browse the repository at this point in the history
  • Loading branch information
imouou committed Dec 21, 2021
1 parent 25ae6b0 commit 8ab46d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/chapter1/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
?> 解压,进入工程目录, 通过这种运行, `app.json`可以配置域名代理,解决移动端调试的跨域问题. 生成的`dist`目录为最终要打包的目录, `src`目录保持源文件的方式.


第1种, 通过npm, (安装较慢)
第1种, 通过npm

```bash
# 安装依赖
$ npm install
# 安装依赖(使用淘宝源会更快)
$ npm install --registry=https://registry.npm.taobao.org
# 运行服务
$ npm run dev
```
Expand Down

0 comments on commit 8ab46d9

Please sign in to comment.