File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ Sorry! No CDN available for VueLink right now.
65
65
### Handling
66
66
67
67
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.
69
69
70
70
All props will be passed down to the internal implementation of ` vue-link `
71
71
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.
89
89
90
90
### Types
91
91
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.
93
93
You can import them (like the normal ` VueLink ` component as named imports).
94
94
The ` default ` export of the package is still the normal ` VueLink ` component so no breaking changes
95
- have been introduced
95
+ have been introduced.
96
96
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' `
98
100
99
101
### Example usage
100
102
You can’t perform that action at this time.
0 commit comments