feat: improve search matching (#800)

* offload search to lunr.js

* update location search when locations are mutated
This commit is contained in:
Hayden 2024-02-29 13:45:05 -06:00 committed by GitHub
parent 4c9ddac395
commit b655cfab28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 71 additions and 44 deletions

View file

@ -41,6 +41,7 @@
"@tailwindcss/aspect-ratio": "^0.4.0",
"@tailwindcss/forms": "^0.5.2",
"@tailwindcss/typography": "^0.5.4",
"@types/lunr": "^2.3.7",
"@vuepic/vue-datepicker": "^8.1.1",
"@vueuse/nuxt": "^10.0.0",
"@vueuse/router": "^10.0.0",
@ -50,6 +51,7 @@
"dompurify": "^3.0.0",
"h3": "^1.7.1",
"http-proxy": "^1.18.1",
"lunr": "^2.3.9",
"markdown-it": "^14.0.0",
"pinia": "^2.0.21",
"postcss": "^8.4.16",