Files
moeka-project/docs/.vitepress/components
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
..
2025-11-16 02:32:36 +08:00
2025-11-16 02:32:36 +08:00
2025-11-16 02:32:36 +08:00
2025-11-16 02:32:36 +08:00
2025-11-16 02:32:36 +08:00
2025-11-16 02:32:36 +08:00
2025-11-16 02:32:36 +08:00
2025-11-16 02:32:36 +08:00
2025-11-16 02:32:36 +08:00
2025-11-16 02:32:36 +08:00
2025-11-16 02:32:36 +08:00
2026-03-19 14:27:23 +08:00
2025-11-16 02:32:36 +08:00
2025-10-29 03:38:41 +08:00
2025-11-16 02:32:36 +08:00
2025-12-24 23:11:14 +08:00
2026-01-04 01:47:22 +08:00
2025-11-16 02:32:36 +08:00