I am currently customizing my admin dashboard (Core-UI) to suit my specific needs. Within this customization, I have an "aside" component where I aim to load MonitorAside.vue
whenever the page switches to the Monitor
section (done using vue-router
).
Here is a brief overview:
src/containers/Full.vue
imports all essential components (including aside) and utilizes router-view
to display the appropriate view based on the route.
src/components/Aside.vue
houses static content, but I intend for its contents to be dynamically altered if necessary by another component.
src/views/Monitor.vue
represents the page that requires dynamic injection or swapping of content within the aside
component. Please note that this component is not directly imported in Full.vue
, but rather rendered through the router there.
src/views/asides/MonitorAside.vue
is the specific component that should replace the content within Aside.vue
when on the Monitor
page.
How can I achieve this functionality?