Add fruit-api
This commit is contained in:
@@ -57,8 +57,8 @@ The API is using the ESM module loader so please make sure that you have at leas
|
||||
```
|
||||
npm i fruit-api
|
||||
```
|
||||
- [ ] Add `"api": "fruit-api"` to the scripts section of your package.json file.
|
||||
- [ ] Run `npm run api` to serve the fruit-api you can view the API documentation at https://localhost:3000 (or another port number, if 3000 is already in use).
|
||||
- [x] Add `"api": "fruit-api"` to the scripts section of your package.json file.
|
||||
- [x] Run `npm run api` to serve the fruit-api you can view the API documentation at https://localhost:3000 (or another port number, if 3000 is already in use).
|
||||
|
||||
**Recommended documentation**
|
||||
| Scaffolding | State Management | Routing |
|
||||
|
||||
@@ -7,10 +7,12 @@
|
||||
"build": "vue-cli-service build",
|
||||
"test:unit": "vue-cli-service test:unit",
|
||||
"test:e2e": "vue-cli-service test:e2e",
|
||||
"lint": "vue-cli-service lint"
|
||||
"lint": "vue-cli-service lint",
|
||||
"api": "fruit-api"
|
||||
},
|
||||
"dependencies": {
|
||||
"core-js": "^3.6.5",
|
||||
"fruit-api": "^1.1.3",
|
||||
"vue": "^2.6.11",
|
||||
"vue-router": "^3.2.0",
|
||||
"vuex": "^3.4.0"
|
||||
|
||||
Reference in New Issue
Block a user