Skip to content

Commit 2bcde28

Browse files
docs: reflect ForNuxt feature
1 parent b183cca commit 2bcde28

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Sorry! No CDN available for VueLink right now.
6565
### Handling
6666

6767
Before going into detail, keep in mind that you can customize the component
68-
as you can do it with a normal `<a>` or `<vue-link>`/`<nuxt-link>` tag.
68+
as you can do it with a normal `<a>` or `<router-link>`/`<nuxt-link>` tag.
6969

7070
All props will be passed down to the internal implementation of `vue-link`
7171
in case the link is not external.
@@ -89,12 +89,14 @@ You can use the `external` prop to force treating it as external link as well.
8989

9090
### Types
9191

92-
With `v.1.4.0` two extra components were introduced that reflect the `slashes` settings.
92+
With `v1.4.0` two extra components were introduced that reflect the `slashes` settings.
9393
You can import them (like the normal `VueLink` component as named imports).
9494
The `default` export of the package is still the normal `VueLink` component so no breaking changes
95-
have been introduced
95+
have been introduced.
9696

97-
`import { VueLink, VueLinkAddSlash, VueLinkStripSlash } from '../lib'`
97+
Since `v1.6.0`, a dedicated `ForNuxt` export is available that'll use `NuxtLink` instead of `RouterLink` under the hood
98+
99+
`import { VueLink, VueLinkAddSlash, VueLinkStripSlash, ForNuxt } from '../lib'`
98100

99101
### Example usage
100102

0 commit comments

Comments
 (0)