Skip to content

Commit 4511f39

Browse files
committed
feat: add RouterLink and RouterView to esm
1 parent cf871b3 commit 4511f39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/entries/esm.js

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import VueRouter from '../router'
33
export const version = '__VERSION__'
44
export { isNavigationFailure, NavigationFailureType } from '../util/errors'
55
export { START as START_LOCATION } from '../util/route'
6+
export { default as RouterLink } from '../components/link'
7+
export { default as RouterView } from '../components/view'
68

79
// we can't add the other composables here because people could still be using an older version of vue and that would
810
// create a compilation error trying to import from vue

0 commit comments

Comments
 (0)