I am using Laravel Nova
custom tool which uses vue js
for custom functionalities.
There is a tool.vue
file inside of the component after creation, that everything handles there. The thing is I would like to have different templates (vue files) and render them whenever they are needed.
In this case my main tool.vue
is a search with dropdowns which I completely implemented. But I want to render the list of the results from a different vue
file after clicking on a button. (of course the other vue file will consist of a table or something to show the data).
The question is how to handle this with vue js and how can I change between components ? and how can I pass paramters/data from the main vue file into the result page so I can do ajax requests or etc.