Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
1-v1-vue-instantsearch.vue
<template>
<ais-index
app-id="<app-id>"
api-key="<api-key>"
index-name="<index-name>"
>
<ais-search-box></ais-search-box>
<ais-results>
<template scope="{ result }">
<h2>
<ais-highlight :result="result" attribute-name="name"></ais-highlight>
</h2>
</template>
</ais-results>
<ais-pagination></ais-pagination>
</ais-index>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment