Does anyone have a sample working code?
Please refer to
src/js/layout/search.js and replace
processAjax that uses Axios Library to process ajax-based search. As search results can be any HTML code. To render the search results you can refer to the HTML code provided in the offline search demo script.