update README
This commit is contained in:
parent
030ed84fa2
commit
492c574c3e
12
README.md
12
README.md
|
@ -12,6 +12,16 @@ npm -v
|
|||
npm install -g cnpm --registry=https://registry.npm.taobao.org
|
||||
```
|
||||
|
||||
## 新增依赖包到本地
|
||||
```
|
||||
cnpm install --save qrcode
|
||||
```
|
||||
|
||||
## 下载依赖包
|
||||
```
|
||||
cnpm install
|
||||
```
|
||||
|
||||
## 启动开发模式
|
||||
|
||||
```sh
|
||||
|
@ -27,4 +37,4 @@ cnpm run dev
|
|||
cnpm run build
|
||||
```
|
||||
|
||||
执行该命令后会生成最终的 HTML、CSS 和 JS 到 `dist` 目录下。它们是浏览器可以直接识别并运行的代码,这样你就可以将它们部署到你想要的服务器上了。
|
||||
执行该命令后会生成最终的 HTML、CSS 和 JS 到 `dist` 目录下。它们是浏览器可以直接识别并运行的代码,这样你就可以将它们部署到你想要的服务器上了。
|
||||
|
|
Loading…
Reference in New Issue