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

Questions about routing hops in custom topics #4080

Open
4 tasks done
niansi-z opened this issue Jul 27, 2024 · 0 comments
Open
4 tasks done

Questions about routing hops in custom topics #4080

niansi-z opened this issue Jul 27, 2024 · 0 comments
Labels
enhancement New feature or request stale

Comments

@niansi-z
Copy link
Contributor

niansi-z commented Jul 27, 2024

Is your feature request related to a problem? Please describe.

I’m trying to customize a blog theme to display a 'tags' page

Describe the solution you'd like

hoping the route can be shown as something like 'https://a.com/tags/', and I want to achieve this in VitePress without needing to create a markdown file.

Describe alternatives you've considered

I once considered using onBeforePageLoad to modify data in the router, such as title, frontmatter, component, and isNotFound, but I thought it might not be the best solution.

Additional context

No response

Validations

@brc-dd brc-dd added the enhancement New feature or request label Jul 27, 2024
@github-actions github-actions bot added the stale label Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

2 participants