"type": "boolean",
"description": "Setting replace prop will call `router.replace()` instead of `router.push()` when clicked, so the navigation will replace the current history entry."
},
+ "custom": {
+ "type": "boolean",
+ "description": "Whether `<router-link>` should not wrap its content in an `<a>` tag."
+ },
"active-class": {
"type": "string",
"description": "Configure the active CSS class applied when the link is active. Note the default value can also be configured globally via the `linkActiveClass` router constructor option."
"description": "Component that renders the matched component for the current location. Components rendered by `<router-view>` can also contain their own `<router-view>` to render nested routes."
},
"router-link": {
- "attributes": ["to", "activeClass","exactActiveClass", "custom"],
+ "attributes": ["to", "replace", "custom", "active-class","exact-active-class", "aria-current-value"],
"description": "Component that renders an `<a>` with the correct `href` attribute and click listeners to trigger a local navigation when clicked. Can also customize its rendering by providing the `custom` prop and using its `v-slot` API."
}
}