yarn add @nuxtjs/algolia
import { defineNuxtConfig } from 'nuxt'export default defineNuxtConfig({ modules: ['@nuxtjs/algolia']})
import { defineNuxtConfig } from 'nuxt'export default defineNuxtConfig({ modules: ['@nuxtjs/algolia'], algolia: { apiKey: 'MY_API_KEY', applicationId: 'MY_APPLICATION_ID' }})
@nuxtjs/algolia
here.<template> <div>{{ result }}</div></template><script setup>const { result, search } = useAlgoliaSearch('test_index') // pass your index name as paramonMounted(async () => { await search({ query: 'Samsung' });})</script>