mirror of
https://github.com/sergeyyarkov/next-apollo-graphql-setup.git
synced 2026-10-11 10:19:43 +03:00
13 lines
181 B
JavaScript
13 lines
181 B
JavaScript
import gql from 'graphql-tag'
|
|
|
|
const ARTICLES_QUERY = gql`
|
|
query Articles {
|
|
articles {
|
|
id
|
|
title
|
|
}
|
|
}
|
|
`
|
|
|
|
export default ARTICLES_QUERY
|