vite-plugin-vue-layouts icon indicating copy to clipboard operation
vite-plugin-vue-layouts copied to clipboard

[Feature Request] Provide option to elevate `meta` properties so build-time router can detect

Open josh-hemphill opened this issue 2 years ago • 2 comments

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 avatar Nov 23 '21 10:11 josh-hemphill

@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.

JohnCampionJr avatar Nov 27 '21 18:11 JohnCampionJr

@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).

yankeeinlondon avatar Mar 07 '22 18:03 yankeeinlondon