Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leonidshv/vue3-graphql

How to use GraphQL in Vue3 with the Apollo Client
https://github.com/leonidshv/vue3-graphql

graphql-client vue vue-apollo vue-apollo-example vue3

Last synced: 3 days ago
JSON representation

How to use GraphQL in Vue3 with the Apollo Client

Awesome Lists containing this project

README

        

# How to use GraphQL in Vue3 with the Apollo Client

[GraphQL api for this project](https://studio.apollographql.com/public/SpaceX-pxxbxen/variant/current/home)


Read the whole tutorial in the article:

[How to use GraphQL in Vue3 with the Apollo Client](https://medium.com/@leonidshvab1996/how-to-use-graphql-in-vue3-with-the-apollo-client-79b1c1fda69d)

## Recommended IDE Setup

[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).

## Customize configuration

See [Vite Configuration Reference](https://vitejs.dev/config/).

## Project Setup

```sh
npm install
```

### Compile and Hot-Reload for Development

```sh
npm run dev
```

### Compile and Minify for Production

```sh
npm run build
```