@nuxt3-graphql/urql
@urql/vue for Nuxt.js! ⚡️
5,268
35
| Install | |
|---|---|
npm install @nuxt3-graphql/urql |
|
| Latest Version: | 0.4.0 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Feb 23, 2022 |
| Links: | GitHub · npm |
Maintainer: pascalmartineau
@nuxt3-graphql/urql
@urql/vue for Nuxt.js! ⚡️
Features
- Provide urql client to your application
- Configurable URL in
nuxt.config.ts - SSR support with ssrExchange
Install
yarn add -D @nuxt3-graphql/urql @urql/vue graphql
# npm i -D @nuxt3-graphql/urql @urql/vue graphql
Usage
Within your nuxt.config.js add the following:
import { defineNuxtConfig } from "nuxt3";
export default defineNuxtConfig({
buildModules: [
"@nuxt3-graphql/urql",
],
urql: {
url: "https://rickandmortyapi.com/graphql/"
},
});
Refer to the @urql/vue documentation for more information.
Roadmap
- Integration with GraphQL Code Generator
- Normalized caching with Graphcache
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.4.0 | ^3 | MIT | |
| 0.3.7 | ^3 | MIT | |
| 0.3.6 | ^3 | MIT | |
| 0.3.5 | ^3 | MIT | |
| 0.3.4 | ^3 | MIT | |
| 0.3.3 | ^3 | MIT | |
| 0.3.2 | ^3 | MIT | |
| 0.3.1 | ^3 | MIT | |
| 0.2.1 | ^3 | MIT | |
| 0.2.0 | ^3 | MIT |