diff --git a/README.md b/README.md index 0dac9188..1b3e76eb 100644 --- a/README.md +++ b/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` 目录下。它们是浏览器可以直接识别并运行的代码,这样你就可以将它们部署到你想要的服务器上了。 \ No newline at end of file +执行该命令后会生成最终的 HTML、CSS 和 JS 到 `dist` 目录下。它们是浏览器可以直接识别并运行的代码,这样你就可以将它们部署到你想要的服务器上了。