Skip to content

Commit 98c0aaf

Browse files
author
Walker Leite
committed
doc(README): update docs
1 parent e8eb0b9 commit 98c0aaf

File tree

2 files changed

+9
-14
lines changed

2 files changed

+9
-14
lines changed

README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ A Vue project template with [Loopback](http://loopback.io/) framework featuring
1010
1. `client`: Vue client files
1111
2. `common`: Common client and server model files
1212
3. `server`: Loopback server files
13-
4. `test`: Unit and E2E test files
13+
4. `test`: Unit test
1414

15-
## Usage
15+
## Installation
1616

1717
```
18-
$ vue-cli init InCuca/vue-loopback
18+
$ npm install
1919
```
2020

2121
## Linting
@@ -27,8 +27,7 @@ A Vue project template with [Loopback](http://loopback.io/) framework featuring
2727
## Testing
2828

2929
```
30-
$ npm test:server
31-
$ npm test:client
30+
$ npm test
3231
```
3332

3433
## Running the development server (API and Client)
@@ -45,14 +44,12 @@ A Vue project template with [Loopback](http://loopback.io/) framework featuring
4544

4645
## Executing built files
4746

48-
For client you can use any http server, like [http-server](https://github.com/indexzero/http-server):
49-
5047
```bash
5148
$ cd build/client
52-
$ http-server
49+
$ npm run start
5350
```
5451

55-
You can run the server with:
52+
You can run only the server with:
5653

5754
```bash
5855
$ cd build/server

template/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
1. `client`: Vue client files
88
2. `common`: Common client and server model files
99
3. `server`: Loopback server files
10-
4. `test`: Unit and E2E test files
10+
4. `test`: Unit test
1111

1212
## Installation
1313

@@ -41,14 +41,12 @@
4141

4242
## Executing built files
4343

44-
For client you can use any http server, like [http-server](https://github.com/indexzero/http-server):
45-
4644
```bash
4745
$ cd build/client
48-
$ http-server
46+
$ npm run start
4947
```
5048

51-
You can run the server with:
49+
You can run only the server with:
5250

5351
```bash
5452
$ cd build/server

0 commit comments

Comments
 (0)