mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 03:02:31 +09:00
first
This commit is contained in:
51
documentation/button/v-button-link-documentation.md
Normal file
51
documentation/button/v-button-link-documentation.md
Normal file
@@ -0,0 +1,51 @@
|
||||
### RouterLink
|
||||
|
||||
`<VButton />` provides a `to` property that can be used like
|
||||
on `<RouterLink />`. You can also use a `href` property to render
|
||||
a standard `<a>` tag. If none is used a `<button>` is rendered insted.
|
||||
|
||||
<!--code-->
|
||||
|
||||
```vue
|
||||
<template>
|
||||
<VButtons>
|
||||
<VButton to="/">
|
||||
Home
|
||||
</VButton>
|
||||
<VButton bold to="/">
|
||||
Home
|
||||
</VButton>
|
||||
<VButton rounded href="https://vuero.cssninja.io">
|
||||
Home
|
||||
</VButton>
|
||||
<VButton
|
||||
bold
|
||||
rounded
|
||||
href="https://vuero.cssninja.io"
|
||||
>
|
||||
Home
|
||||
</VButton>
|
||||
</VButtons>
|
||||
</template>
|
||||
```
|
||||
|
||||
<!--/code-->
|
||||
|
||||
<!--example-->
|
||||
|
||||
<VButtons>
|
||||
<VButton to="/">
|
||||
Home
|
||||
</VButton>
|
||||
<VButton bold to="/">
|
||||
Home
|
||||
</VButton>
|
||||
<VButton rounded href="https://vuero.cssninja.io">
|
||||
Home
|
||||
</VButton>
|
||||
<VButton bold rounded href="https://vuero.cssninja.io">
|
||||
Home
|
||||
</VButton>
|
||||
</VButtons>
|
||||
|
||||
<!--/example-->
|
||||
Reference in New Issue
Block a user