This example is a small reference of how to integrate next-urql
with your NextJS application by wrapping the component exported in _app.js
. The project is a small Pokedex querying the excellent Pokemon GraphQL API.
To get the example project running, follow these two steps:
yarn
yarn start
The example project should spin up at http://localhost:3000
. yarn start
will always run the build of the next-urql
source, so you should see changes picked up once the dev server boots up. However, if you make changes to the next-urql
source while the dev server is running, you'll need to run yarn start
again to see those changes take effect.