EnAccess / micropowermanager

Open Source Management Tool for Decentralized Utilities.
https://micropowermanager.io/
MIT License
2 stars 2 forks source link

Use nesting for all routes #125

Closed dmohns closed 2 months ago

dmohns commented 3 months ago

Makes progress on #122

In this PR we are changing all routes to use Vue-Router's route nesting capabilities. See https://v3.router.vuejs.org/guide/essentials/nested-routes.html

Functionally, nothing changes and all routes function exactly the same way as before.

In this first steps this seem to add complexity. However, it is a preparation to enable us to render the SideBar based on route definition and remove a lot of unnecessary logic from the project.

It also removes some unneeded props and meta arguments from the routes.