pespantelis / vue-typeahead

:mag: Typeahead component for Vue.js
http://pespantelis.github.io/vue-typeahead
MIT License
517 stars 97 forks source link

Is there a way to provide source as JSON file #69

Open UtkarshMishr opened 6 years ago

UtkarshMishr commented 6 years ago

Hi,

I have been trying since last 2 days and looking to find a way to provide source as a local JSON file or array rather providing a URL.

Is there any documentation around this, or this functionality is currently not available.

Please suggest.

intosKai commented 5 years ago

Yes, just set src as path to your json. It works for me.