mirror of
https://github.com/sergeyyarkov/next-apollo-graphql-setup.git
synced 2026-10-11 18:29:36 +03:00
📝 upd readme
This commit is contained in:
parent
d7597645f0
commit
1789febbeb
@ -1,4 +1,4 @@
|
|||||||
### This is a next-apollo-graphql setup to develop your web site. This setup uses server side rendering.
|
### This is a next-apollo-graphql setup to start develop your web site. This setup uses server side rendering.
|
||||||
|
|
||||||
|
|
||||||
## 🚀 Getting Started
|
## 🚀 Getting Started
|
||||||
@ -26,6 +26,8 @@ You can easily use `Query` component to send queries to the GraphQL server. Just
|
|||||||
|
|
||||||
Use the `withApollo` HOC to wrap your pages.
|
Use the `withApollo` HOC to wrap your pages.
|
||||||
```jsx
|
```jsx
|
||||||
|
|
||||||
|
// ./frontend/pages/articles.js
|
||||||
import Layout from '../components/Layout/Layout'
|
import Layout from '../components/Layout/Layout'
|
||||||
import SEO from '../components/SEO/SEO'
|
import SEO from '../components/SEO/SEO'
|
||||||
import Query from '../components/Query/query'
|
import Query from '../components/Query/query'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user