I want to create a sidebar that can call another page and stay on that page
I have tried it but the result is that the page I want to display is redirected to another page and I have also tried a different method but the page I want to call is actually under the sidebar
One common approach is to create a default layout component, often named default.vue, which acts as a wrapper for your views or components.
Here's a step-by-step guide:
Create a Default Layout Component:
If it doesn't exist already, create a default.vue component. This will serve as the base layout for your application.
Create a Sidebar Component:
If you haven't already, create a Sidebar.vue component to handle navigation.