Closed zacklerner closed 4 years ago
Hey @zacklerner!
I believe that the api.configureServer
hook was added in gridsome v0.7.3
. So I am afraid that to use this plugin, you will need to update to at least that version...
Let me know if that doesn't fix the issue...
@thetre97 That resolved the error! Thanks so much for the quick response.
No problem, thanks for raising it - I have added a note about that on the readme...
First off, thanks for the plugin! I'm in the process of implementing search for a site that uses Sanity as a headless CMS and Gridsome for SSG.
I'm getting the following error when running
gridsome develop
:Here are the contents of package.json with the versions of Gridsome and the Flexsearch plugin:
And finally, here's the config of my collection as well as the Flexsearch plugin in gridsome.config.js:
Any info on what may be causing this would be greatly appreciated. Thanks again!