-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
Describe the bug
- 页面跳转404
- themeConfig.sidebar.items.link 需要手动添加 base路径才能正常跳转
Reproduction
// .island/config.ts
export default defineConfig({
// ...
base: '/test/',
// ...
})// docs/index.md
---
hero:
// ...
actions:
- theme: brand
text: go
link: /article
// ...
---Expected behavior
期望跳转到/program-guide/article
实际跳转到/program-guide/program-guide/article
如果配置actions link为/program-guide/article
则会跳转到/program-guide/program-guide/program-guide/article
System Info
mac
node@18
pnpm@8
[email protected]Additional context
No response
Validations
- Read the docs
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
No labels
