Skip to content

lewebsimple/nuxt-villus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Villus GraphQL integration with Nuxt.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published