@drinksandco/algolia-vue

2.3.3 • Public • Published

algolia vue component

implementation

We are using algolia components to build this component, BUT instead of using autocomplete algolia's component, we are using an algolia helper (https://github.com/algolia/algoliasearch-helper-js) that is much flexible, along with standard use of Vue component to do a search upon keyup event in input. Furthermore, this way we can handle the input itself, not depending on internal behavior on algolia private components.

using in other repos

algoliaMultipleIndex must be used passing needed info as props:

  • language: index of algolia's DB where this will search into
  • placeholderName: placeholder shown in input (translations must be provided)
  • ariaLabelName: aria label used in search input
  • messages: an object that includes the categories and product's titles (translated)

Readme

Keywords

none

Package Sidebar

Install

npm i @drinksandco/algolia-vue

Weekly Downloads

7

Version

2.3.3

License

none

Unpacked Size

5.4 MB

Total Files

18

Last publish

Collaborators

  • jocalu87
  • ejosepintog
  • angela_pedrero
  • condebiel