mirror of
https://github.com/axios/axios.git
synced 2026-04-11 02:11:50 +08:00
Updating example for how to run examples
This commit is contained in:
parent
9bf29e1c73
commit
f18f12250d
@ -38,9 +38,8 @@ Examples are included in part to allow manual testing.
|
||||
Running example
|
||||
|
||||
```bash
|
||||
$ npm install -g http-server
|
||||
$ http-server
|
||||
# Open 127.0.0.1:8080/example
|
||||
$ npm run examples
|
||||
# Open 127.0.0.1:3000
|
||||
```
|
||||
|
||||
Running sandbox in browser
|
||||
@ -55,4 +54,4 @@ Running sandbox in terminal
|
||||
```bash
|
||||
$ npm start
|
||||
$ node ./sandbox/client
|
||||
```
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user