Components

<AisConfigure>

Configure widget

Usage

MySearchExperience.vue
<template>
  <div>
    <AisInstantSearch :widgets :configuration> </AisInstantSearch>
  </div>
</template>

<script setup lang="ts">
const widgets = computed(() => [
  useAisConfigure({
    searchParameters: {
      query: "a",
    },
  }),
]);
</script>
Configure widget doesn't need nor have a UI component

Slots, props and widget connector params are all typed! More thorough documentation coming soon :)


Copyright © 2023