Sample code demonstrating gatsby-plugin-lunr usage with Gatsby2
Make sure that you have the Gatsby CLI program installed:
npm install --global gatsby-cli
And run from your CLI:
gatsby new my-default-project https://github.com/gatsbyjs/gatsby-starter-default#v2
Then you can run it by:
cd my-default-project
gatsby develop