Files
Web_Template_Vue3_Dev/AI-Coding/openspec-lite/modules/vab-link.yaml

22 lines
467 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Module Specvab-link智能链接
module:
id: vab-link
name: VabLink外链/内链统一)
type: ui
entrypoints:
- library/components/VabLink/index.vue
public_api:
concept:
- "根据 isExternal(to) 自动选择渲染 a 或 router-link"
dependency_closure:
runtime:
- "utils/validateisExternal"
- "vue-routerrouter-link"
acceptance:
- "外链target=_blank + rel=noopener"
- "内链:透传 to 给 router-link"