Files
moeka-project/docs
Garfield Lee 9538068d0b fix(docs): Try Live leads to 404 in VitePress SPA router (#1461)
- Add `target?: string` field to `ButtonItem` interface
- Set `target: '_self'` on all locales' Try Live button configs (EN, ZH, JA)
- Bind `:target="item.target"` on the `<a>` element in HomeButton.vue

VitePress intercepts clicks on anchor tags without an explicit `target`
attribute and routes them through Vue Router, which causes a 404 for the
external https://airi.moeru.ai/ link. Setting `target="_self"` makes
the browser skip the router and perform a native navigation.

Co-authored-by-agent: GitHub Copilot <copilot@github.com>
2026-03-24 10:15:57 +08:00
..
2026-03-24 09:21:27 +08:00
2025-06-16 01:52:54 +08:00
2026-01-18 05:42:31 +08:00

Please refer to README.md for the main documentation.