nuxt-villus
v0.1.10
Published
Villus GraphQL integration with Nuxt.js
Downloads
2
Maintainers
Readme
Nuxt Villus
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
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",
},
}