[Vuejs]-Not getting any results back from Fuse.js with Vue

0👍

I think your runQuery method is created before your this.fuse get created so the this.fuse inside your runQuery method is not up-to-date.

Maybe try:

methods:{
        runQuery(query){
            if(query.length >= 3)
                this.results = new Fuse(this.customer_search, this.options).search(query)
        },
    },

Leave a comment