Replies: 4 comments 9 replies
-
Very cool! Our UI components are also compatible with Vue 3, like autocomplete by using https://github.com/algolia/recommend/tree/next/packages/recommend-vdom |
Beta Was this translation helpful? Give feedback.
-
@yassilah waiting for your comments ;) Also, maybe @pi0 @danielroe @atinux you would have some thoughts on that? :) |
Beta Was this translation helpful? Give feedback.
-
Hi @Baroshem, |
Beta Was this translation helpful? Give feedback.
-
Hey guys, the support for Recommend API is now part of the new version of the module -> https://github.com/nuxt-community/algolia-module/releases/tag/v0.8.3 Thanks for participating! 💚 |
Beta Was this translation helpful? Give feedback.
-
Introduction
Algolia is not just the Search service. It also provides useful Recommend API that could be also implemented into the Algolia module.
This would require importing another library optionally and composables like useRecommend that would be used fetch the recommendations based on previous search or a certain object. More info in the documentation
If accepted, this will probably be released with 0.8.0 version.
Implementation
First add a
recommend
flag to config:This will load the
@algolia/recommend
package anduseRecommend
composable. Next, use new composable in the template.More advanced example with full options
A fully typed response will be returned to the user like following:
Documentation
Apart from the feature itself, a new documentation page would be required as this feature contains new configuration option, new composable, new api and a new vue-instantsearch components to be used for recommendation.
Beta Was this translation helpful? Give feedback.
All reactions