We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/EmileSpecs/nuxtcontentsearch
Using the playground minimal example I added all the necessary setup steps to get search to work.
I however het the error: Missing search data
Missing search data
Can't find any information about anyone having this issue and I don't see anything that I've missed configuring search.
Can someone please assist?
Thanks!
No response
The text was updated successfully, but these errors were encountered:
This is because the await request will be executed once when the server renders, if you put it in the function will not happen Missing search data.
<script setup> const search = ref(""); const results = ref([]); const handleSearch = async () => { results.value = await searchContent(search); } </script> <template> <main> <input v-model="search" /> <button @click="handleSearch">search</button> <pre>{{ results }} </pre> </main> </template>
However, he will have a strange warning that will ask you to replace 'searchContent' with '$fetch'
Sorry, something went wrong.
No branches or pull requests
Environment
Reproduction
https://github.com/EmileSpecs/nuxtcontentsearch
Describe the bug
Using the playground minimal example I added all the necessary setup steps to get search to work.
I however het the error:
Missing search data
Can't find any information about anyone having this issue and I don't see anything that I've missed configuring search.
Can someone please assist?
Thanks!
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: