Vue-autosuggest + Nuxt


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 slot-scope="{ currentRefinement, indices, refine }">
            style: 'width: 100%',
            onInputChange: refine,
            placeholder: 'Search here…',
          <template slot-scope="{ suggestion }">
            <ais-highlight attribute="query" :hit="suggestion.item" />

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