this way lunr is only set up once, which speeds up the loading of the search page. also makes sure the data doesn't increadse the bundle sizes of the various pages that use it.
search-site
Strain search static website. Use it to search for strains by name, effects, medical uses, and other tags.
Based on data from leafly. You'll need to run the scraper first since that's where the data comes from.
Usage
yarn start: starts the dev server, with HMRyarn build: builds the static site into thedistpathyarn deploy: builds and deploys the app onto firebase
License
MIT © w33ble