Vue-autosuggest + Nuxt

Hello,

I’ve been following the guidelines to use Algolia nicely with Nuxt but I have a question:

I have tried to merge both ways but I cannot trigger the query with Vue-autocomplete.

<template>
  <ais-instant-search-ssr>
    <ais-autocomplete>
      <template slot-scope="{ currentRefinement, indices, refine }">
        <vue-autosuggest
          :suggestions="indicesToSuggestions(indices)"
          :input-props="{
            style: 'width: 100%',
            onInputChange: refine,
            placeholder: 'Search here…',
          }"
          @selected="onSelect"
        >
          <template slot-scope="{ suggestion }">
            <ais-highlight attribute="query" :hit="suggestion.item" />
          </template>
        </vue-autosuggest>
      </template>
    </ais-autocomplete>
  </ais-instant-search-ssr>
</template>

And how can I prevent the initial query, if the user hasn’t written anything?

Thanks.