You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/2.components/button.md
+24-8Lines changed: 24 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,9 @@ Use the button component to help users carry out an action like starting an appl
9
9
See the [GOV.UK Design System documentation on buttons](https://design-system.service.gov.uk/components/button/) for more information on when to use this component.
10
10
11
11
```vue
12
-
<gv-button href="#">Save and continue</gv-button>
12
+
<gv-button href="#">
13
+
Save and continue
14
+
</gv-button>
13
15
```
14
16
15
17
## Using `router-link` or `nuxt-link`
@@ -23,7 +25,9 @@ import { NuxtLink } from '#components';
23
25
</script>
24
26
25
27
<template>
26
-
<gv-button :component="NuxtLink" to="/example-page">Save and continue</gv-button>
0 commit comments