Skip to content

Commit 90c455e

Browse files
fix: add slash exports for nuxt links as well
1 parent 6baebe5 commit 90c455e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ const vueLinkFactory = (slashes, isNuxt) => ({
6262

6363
export const VueLink = vueLinkFactory()
6464
export const ForNuxt = vueLinkFactory(undefined, true)
65+
export const ForNuxtAddSlash = vueLinkFactory(slashOptions.ADD, true)
66+
export const ForNuxtStripSlash = vueLinkFactory(slashOptions.STRIP, true)
6567
export const VueLinkAddSlash = vueLinkFactory(slashOptions.ADD)
6668
export const VueLinkStripSlash = vueLinkFactory(slashOptions.STRIP)
6769

0 commit comments

Comments
 (0)