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

The link generated by using CreateContentLoader is inconsistent with the default link format #2862

Closed
4 tasks done
tolking opened this issue Aug 28, 2023 · 0 comments · Fixed by #2865
Closed
4 tasks done
Labels
bug Something isn't working contribution welcome The team would welcome a contribution from the community for this issue

Comments

@tolking
Copy link
Contributor

tolking commented Aug 28, 2023

Describe the bug

After configuring base, the links generated using createContentLoader have a base prefix, while other links do not have a base (eq. navigation-links). There is a difference between the two format of links.

Caused by #2714

Reproduction

https://stackblitz.com/edit/vite-tcog3a?file=docs%2F.vitepress%2FTest.vue

Expected behavior

Various links should maintain a consistent format

System Info

vitepress ^1.0.0-rc.1

Additional context

The default theme for base processing is done in the component, eq. VPLink VPImage

Validations

@tolking tolking added the bug: pending triage Maybe a bug, waiting for confirmation label Aug 28, 2023
@zonemeen zonemeen added bug Something isn't working contribution welcome The team would welcome a contribution from the community for this issue and removed bug: pending triage Maybe a bug, waiting for confirmation labels Aug 28, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working contribution welcome The team would welcome a contribution from the community for this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants