Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add dynamic titles #608

Open
2 tasks done
devtobi opened this issue Dec 4, 2024 · 0 comments
Open
2 tasks done

[Feature] Add dynamic titles #608

devtobi opened this issue Dec 4, 2024 · 0 comments
Labels
Priority: Low The issue contains work with low priority. Template: Frontend Issues regarding the frontend template. Type: Feature The issue is an feature
Milestone

Comments

@devtobi
Copy link
Member

devtobi commented Dec 4, 2024

Relevant template

refarch-frontend

Problem description (optional)

Currently the application title is set statically inside the html file. It would be better if the title gets updated dynamically and thus resembled the navigation structure of the application.

Desired solution

We should add additional metadata to the routes (e.g. title field) and update the title dynamically when navigation happens (e.g via a beforeEach or afterEach route guard)

Considered alternatives (optional)

Maybe a more sophisticated solution like https://vue-meta.nuxtjs.org/ or https://unhead.unjs.io/setup/vue/installation might be better.

Additional context (optional)

No response

No duplicate

  • I confirm that this issue is not a duplicate

Code of Conduct

  • I agree to follow this project's Code of Conduct
@devtobi devtobi added Template: Frontend Issues regarding the frontend template. Type: Feature The issue is an feature Priority: Low The issue contains work with low priority. labels Dec 4, 2024
@devtobi devtobi moved this from Open to Accepted in it@M RefArch Templates Dec 4, 2024
@DanielOber DanielOber added this to the Q2 milestone Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low The issue contains work with low priority. Template: Frontend Issues regarding the frontend template. Type: Feature The issue is an feature
Projects
Status: Accepted
Development

No branches or pull requests

2 participants