vue-cli-plugin-apollo
Version:
vue-cli 3 plugin to add Apollo and GraphQL
18 lines (9 loc) • 531 B
Markdown
# Injected Commands
- **`vue-cli-service apollo:watch`**
Run the GraphQL API server with info from `./apollo-server` and watch the files to restart itself automatically.
- **`vue-cli-service apollo:run`**
Run the GraphQL API server with info from `./apollo-server` once.
- **`vue-cli-service apollo:schema:generate`**
(WIP) Generates GraphQL and JSON files from the running API, useful for integration with other tools like IDE plugins.
- **`vue-cli-service apollo:schema:publish`**
Publish schema to Apollo Engine