- Make sure your gridsome dev server is running:
cd frontend
and thenyarn dev
ornpm run dev
- Install JS GraphQL plugin: https://jimkyndemeyer.github.io/js-graphql-intellij-plugin/
- Select everything inside
<page-query>
, click the light bulb icon, choose "Inject language or reference" and select GraphQL, like this:
NOTE: you only have to do this once and then all your .vue files will support GraphQL queries inside <page-query>
tags.