# Module Spec：vab-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/validate：isExternal"
    - "vue-router：router-link"

acceptance:
  - "外链：target=_blank + rel=noopener"
  - "内链：透传 to 给 router-link"
