tuandm / laravue

Admin dashboard for enterprise Laravel applications built by VueJS and Element UI https://laravue.dev
https://laravue.dev
MIT License
2.21k stars 653 forks source link

How to customize the search #158

Open sabatale opened 4 years ago

sabatale commented 4 years ago

I was wondering if you had any guidelines on how to customize the search in the context of Laravue?

From a Frontend perspective, I understand the search results are restricted to the routes (menu links), and that the instant search engine relies on fuse.js. The files @/components/Headersearch/index.js and @/utils/index.js contain most of this information.

Now, would you have any recommendations, or maybe have you tried yourself in the past, on how to connect it to the Laravel backend? E.g. Getting results for usernames, full-text search, or any use case that can help understand how the high-level workflow works?

Thanks!

tuandm commented 4 years ago

@sabatale Thanks for pointing out this. This feature is useful indeed. We will check and get back soon.

sabatale commented 4 years ago

Any news on this? Thanks!