vite-plugin-vue-layouts
vite-plugin-vue-layouts copied to clipboard
[Feature Request] Provide option to elevate `meta` properties so build-time router can detect
I'm running into issues with trying to get build-time router to be able to access the nested meta properties.
Part of that is an issue with vite-ssg
's handling of the router provided in ctx
, but it would be really nice and convenient to be able to elevate things (like in my case, the language for a dynamic route) to the top level so build-time code attaching to or modifying the top-level routes can have easy access to the meta properties.
@josh-hemphill I don't use vite-ssg, so I'm not sure I can help provide this but if you want to do a PR, I'd be glad to merge it.
@josh-hemphill if it helps ... I'm offering you good vibes for a possible future PR on this. I was just noticing this myself. Maybe if you could describe the issue in a bit more depth I could help you in this PR (at least review/soundboarding).