Closed MellKam closed 2 months ago
Thanks, I'm glad you like it!
They type isn't wrong, that's the name given to the route. If you use it, it works. You can customize how names are set with getRouteName (https://uvr.esm.is/guide/configuration.html)
Hi! I want to create the layout for my dashboard, but I don't want to set path for it as in docs. I want it to start from root
/
. I came up with the following strucutre:I also have other pages that dont need this layout, so I can't just move it all to
App.vue
Here is how it looks in code: https://stackblitz.com/edit/github-wfreqt-udvslk?file=typed-router.d.ts
Everything seems to be working just fine, but generated types are not exactly correct. For some reason another slash is inserted for pages with index layout
I would like to know if there's a better way to structure this. Thanks for your work, awsome library ❤️