@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

Related Packages

@attributech/nuxt-attribute-radio

Reusable functionality for radio websites based on nuxt.

1,481
@scayle/storefront-nuxt

Nuxt integration for the SCAYLE Commerce Engine and Storefront API

152,903
nuxt-tsconfig-stub

Stub Nuxt's generated tsconfig.json at installation

70,835 24
@stonecrop/nuxt-grafserv

Pluggable Grafserv GraphQL server as Nuxt Module

18,178 13

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