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