Closed daflav closed 1 year ago
Hey,
You can use the useAlgoliaInitIndex
composable to initialize the index and then call getObjects
from it :)
Hello @Baroshem thanks for you reply. Already tried that but i got error: getObjects its not a function
const algoliaIndex = useAlgoliaInitIndex('products') const test = algoliaIndex.getObjects('my id')
// getObjects its not a function
Apart from that, you also need to set the lite: false
option in module configuration as this option is only available for full version of Algolia :)
Hey @daflav
Have you managed to make it work?
Hello, how i can get object by id trough nuxt-algolia please ?
https://www.algolia.com/doc/api-reference/api-methods/get-objects/