Skip to content

Commit c02056c

Browse files
committed
doc: optimize test 📝
1 parent 50fb000 commit c02056c

File tree

3 files changed

+3870
-443
lines changed

3 files changed

+3870
-443
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,7 @@ Webpack |2.2+
6060
> <http://vue.tigerb.cn>
6161
6262
## How To Use ?
63-
1. npm install
64-
2. build
65-
- develop environment: npm run test
66-
- production environment: npm run build
67-
3. run
68-
- npm run dev
69-
- open the website:http://localhost:8080
63+
- yarn install
64+
- npm run test
65+
66+
Then, open the website:http://localhost:8080

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Learn Vue Easily",
55
"main": "index.js",
66
"scripts": {
7-
"test": "DOMAIN=http://localhost:8080 webpack --progress -d --colors",
7+
"test": "DOMAIN=http://localhost:8080 webpack --progress -d --colors && DOMAIN=http://localhost:8080 webpack-dev-server --content-base ./",
88
"dev": " DOMAIN=http://localhost:8080 webpack-dev-server --content-base ./",
99
"build": "NODE_ENV=production DOMAIN=http://localhost:8080 webpack --progress --colors"
1010
},
@@ -42,7 +42,6 @@
4242
"fetch": "^1.0.1",
4343
"font-awesome": "^4.7.0",
4444
"ratchet-npm": "^2.0.4",
45-
"vue": "^2.0.0",
4645
"vue-infinite-scroll": "^2.0.0",
4746
"vue-progressbar": "^0.7.1",
4847
"vue-resource": "^1.2.1",

0 commit comments

Comments
 (0)