I have made an API endpoint
which returns the relevant data(name of component, keywords etc) required for a search in about 600-700 ms on an average. It can be requested as soon as the window loads and stored. The reason I am inclined towards searching using Vue is that, if the client wishes to search for, say, cytoscape, the results can be rendered as soon as he starts with 'c', 'cy' and so on. Querying the database would require something concrete to be sent(such as 'cytoscape'). Hence, it might hamper the user experience.