Closed alex3025 closed 5 months ago
Hi @alex3025
$meilisearch
is only available in server side
but
you can
const meilisearch = useMeiliSearchRef()
into your script setup
https://nuxt-meilisearch.vercel.app/front-side/basic#usemeilisearchref
Oh ok, thanks.
When I run this code in my
<script setup>
:I get the following error: