File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -402,8 +402,7 @@ subscription.unsubscribe() // 上传取消
402
402
403
403
### 运行示例
404
404
405
- 1. 进入项目根目录,执行 ` npm install` 安装依赖库,然后打开两个终端,一个执行 ` npm run serve` 跑 server, 一个执行 ` npm run dev` 运行服务 demo1; demo2 为测试es6语法的 demo,进入 demo2 目录,执行 ` npm install` ,然后 ` npm start` 运行 demo2,demo1 和 demo2 都共用一个 server 服务
406
- 2. 进入 demo 目录,按照目录下的 ` config.json.example` 示例,创建 ` config.json` 文件,其中,` Access Key` 和 ` Secret Key` 按如下方式获取
405
+ 1. 进入 test 目录,按照目录下的 ` config.json.example` 示例,创建 ` config.json` 文件,其中,` Access Key` 和 ` Secret Key` 按如下方式获取
407
406
408
407
* [开通七牛开发者帐号](https: // portal.qiniu.com/signup)
409
408
* [登录七牛开发者自助平台,查看 AccessKey 和 SecretKey](https: // portal.qiniu.com/user/key) 。
@@ -418,6 +417,8 @@ subscription.unsubscribe() // 上传取消
418
417
Domain: "<Your Bucket Domain>" // Bucket 的外链默认域名,在 Bucket 的内容管理里查看,如:'http://xxx.bkt.clouddn.com/'
419
418
}
420
419
` ` `
420
+ 2. 进入项目根目录,执行 ` npm install` 安装依赖库,然后打开两个终端,一个执行 ` npm run serve` 跑 server, 一个执行 ` npm run dev` 运行服务 demo1; demo2 为测试es6语法的 demo,进入 demo2 目录,执行 ` npm install` ,然后 ` npm start` 运行 demo2,demo1 和 demo2 都共用一个 server。
421
+
421
422
422
423
< a id= " note" >< / a>
423
424
You can’t perform that action at this time.
0 commit comments