aisi-cli-plugin-apollo
vue-cli-plugin-apollo
:rocket: Start building a Vue app with Apollo and GraphQL in 2 minutes!
This is a vue-cli 3.x plugin to add Apollo and GraphQL in your Vue project.
Documentation
Sponsors
Gold
Silver
Bronze
:star: Features
- Automatically integrate vue-apollo into your Vue app
- Embed Apollo client config (upgradable and customizable)
- Websockets
- File uploads
- Client state with apollo-link-state
- Included optional Graphql Server (upgradable and customizable):
- Dead simple GraphQL API sources generated into your project (with import/export support)
- Upgradable service running apollo-server
- Websocket subscriptions support
- Optional automatic mocking
- Apollo Engine support
- GraphQL playground integrated in the CLI UI
- Configuration screen in the CLI UI
- Server-Side Rendering with @akryum/vue-cli-plugin-ssr
- Included optional example component with:
- Watched query
- Mutation
- Realtime subscription using Websockets
- Fully working image gallery with image upload
- GraphQL validation using ESLint
Dependencies
apollo: ^2.15.0apollo-cache-inmemory: ^1.6.2apollo-client: ^2.6.3apollo-link: ^1.2.12apollo-link-context: ^1.0.18apollo-link-http: ^1.5.15apollo-link-persisted-queries: ^0.2.2apollo-link-state: ^0.4.2apollo-link-ws: ^1.0.18apollo-server-express: ^2.6.7apollo-upload-client: ^10.0.1apollo-utilities: ^1.3.2chalk: ^2.4.2deepmerge: ^3.3.0dotenv: ^8.0.0esm: ^3.2.25execa: ^2.0.1express: ^4.17.1fs-extra: ^8.0.1graphql: ^14.4.0graphql-subscriptions: ^1.1.0graphql-tag: ^2.10.1graphql-tools: ^4.0.5node-fetch: ^2.6.0nodemon: ^1.19.1subscriptions-transport-ws: ^0.9.16ts-node: ^8.3.0