Open jackdbd opened 6 years ago
Gatsby v2 is not supported yet. See #14
It is supported now, see #14 for more details
@DHFW Will be supported when merge right? ... Ok I see the publish npm install --save @gatsby-contrib/gatsby-plugin-elasticlunr-search perfect!
I was trying to configure this plugin in a Gatsby v2 website and received this message:
And then...
Here is what I did:
Created a
Search
React component and copy-pasted the code available in the Consuming your site section.Updated
gatsby-config.js
as explained here.I'm not sure how to use the selective version resolution. In the documentation they say to add a resolutions field in
package.json
and then runnpm install
. This is what I tried (with no luck).Have I misunderstood how to use this plugin or this behavior is due to changes in Gatsby v2?