Skip to content

Commit

Permalink
doc: optimize test 📝
Browse files Browse the repository at this point in the history
  • Loading branch information
TIGERB committed Mar 24, 2017
1 parent 50fb000 commit c02056c
Show file tree
Hide file tree
Showing 3 changed files with 3,870 additions and 443 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ Webpack |2.2+
> <http://vue.tigerb.cn>
## How To Use ?
1. npm install
2. build
- develop environment: npm run test
- production environment: npm run build
3. run
- npm run dev
- open the website:http://localhost:8080
- yarn install
- npm run test

Then, open the website:http://localhost:8080
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Learn Vue Easily",
"main": "index.js",
"scripts": {
"test": "DOMAIN=http://localhost:8080 webpack --progress -d --colors",
"test": "DOMAIN=http://localhost:8080 webpack --progress -d --colors && DOMAIN=http://localhost:8080 webpack-dev-server --content-base ./",
"dev": " DOMAIN=http://localhost:8080 webpack-dev-server --content-base ./",
"build": "NODE_ENV=production DOMAIN=http://localhost:8080 webpack --progress --colors"
},
Expand Down Expand Up @@ -42,7 +42,6 @@
"fetch": "^1.0.1",
"font-awesome": "^4.7.0",
"ratchet-npm": "^2.0.4",
"vue": "^2.0.0",
"vue-infinite-scroll": "^2.0.0",
"vue-progressbar": "^0.7.1",
"vue-resource": "^1.2.1",
Expand Down
Loading

0 comments on commit c02056c

Please # to comment.