Skip to content

Page titles#463

Merged
MarcelGeo merged 4 commits intodevelopfrom
page-titles
Jun 6, 2025
Merged

Page titles#463
MarcelGeo merged 4 commits intodevelopfrom
page-titles

Conversation

@MarcelGeo
Copy link
Collaborator

Resolves https://github.com/MerginMaps/server-private/issues/2802

New 🪄

  • introduce vue composable ready to use in App.vue for handling titles coming from router route.meta.title
  • route meta.title could be also function which is called and returning some string or array of string to composable
  • in router.beforeEach we are handling routes for each module and route globally

Gallery

file detail

Screenshot from 2025-06-05 11-07-20

project history

image

  • impl: also in admin

MarcelGeo added 4 commits June 4, 2025 21:38
- use route.meta.title for storing titles
- parse titles from meta with composable useRouteTitle
- store titles with specific handlers in modules.route.ts file
- impl also admin
Make use router title responsive to extended argument changes
@MarcelGeo MarcelGeo requested review from harminius and varmar05 June 5, 2025 09:10
@MarcelGeo MarcelGeo merged commit b0dc9be into develop Jun 6, 2025
4 checks passed
@MarcelGeo MarcelGeo deleted the page-titles branch June 6, 2025 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants