Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

nuxt-villus

lewebsimple3MIT0.1.10TypeScript support: included

Villus GraphQL integration with Nuxt.js

nuxt, module, nuxt-module, graphql, villus

readme

Nuxt Villus

Version Documentation Maintenance License: MIT

Villus GraphQL client integration with Nuxt.js

🚧 This is a work-in-progress, do not use in production

Features

  • Provide Villus client to Nuxt / Vue

📖 Release Notes

Setup

Install with yarn:

yarn add nuxt-villus graphql

Install with npm:

npm install nuxt-villus graphql

nuxt.config.js

export default {
  modules: ["nuxt-villus"],

  villus: {
    /**
     * GraphQL HTTP endpoint
     */
    httpEndpoint: "https://rickandmortyapi.com/graphql",

    /**
     * GraphQL WS endpoint
     */
    wsEndpoint: "wss://rickandmortyapi.com/graphql",
  },
}

📝 License

MIT license

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.1.10 (2021-03-17)

Features

  • Support Composition API (2fb28da)

0.1.9 (2021-03-17)

Features

  • Supprot batch, multipart and subscriptions (0219c9d)

0.1.8 (2021-03-17)

0.1.7 (2021-03-17)

0.1.6 (2021-03-16)

0.1.5 (2021-03-16)

Features

  • Explicitly define Villus plugins (3cc51c6)

0.1.4 (2021-03-16)

Features

  • Provide Villus client to Nuxt / Vue (2d92151)