darrenjennings / vue-autosuggest

🔍 Vue autosuggest component.
https://darrenjennings.github.io/vue-autosuggest
MIT License
621 stars 91 forks source link

Error building source #141

Closed nghia-le closed 5 years ago

nghia-le commented 5 years ago

I know it's not a bug or something, I'm referencing this example of vue-autosuggest: https://codesandbox.io/s/mjqrk7v2rx

In "renderSuggestion(suggestion)" function it's returning an html string with some parameter, but I got error "Unexpected token" when building the source.

Am I missing something?

nghia-le commented 5 years ago

Sorry I found the explanations in the renderSuggestion section.