I have an issue with my Vue webapp. Can you help advise on better solution than the one I implemented?
Sure, I'd be happy to help! Please provide more details on the issue you're facing and the solution you've implemented so far. That way, I can understand the problem better and offer a more informed advice.
The simplified version of my app has a search bar (component) present on all pages. When a user enters a query into the search bar, the component uses the Vue router to programmatically navigate to a search URL, e.g. if the user enter "Carl Sagan", the app would navigate to "/search?q=Carl+Sagan"