Hi, I’m following this example and getting this error:
TypeError: It looks like you forgot to wrap your Algolia search component "<ais-search-box>" inside of an "<ais-index>" component. You can also pass a search store as a prop to your component.
My code is exactly the same, as shown in tutorial:
<div id="app"> <ais-index app-id="MYAPPID" api-key="MYAPIKEY" index-name="MYINDEXNAME"> <ais-search-box></ais-search-box> <ais-results></ais-results> <ais-pagination></ais-pagination> </ais-index> </div>
All components are imported correctly.
What am I doing wrong? I use Vue 2.*