Open cassiehuang opened 5 years ago
import { graphql } from 'gatsby'
export default ({ data }) => {
} // 导出的query即为组件的参数data export const query = graphql query { site { user { usertname } } }
query { site { user { usertname } } }