feat: 把vue-router的所有api都暴露出来

This commit is contained in:
万纯 2021-03-02 11:21:22 +08:00
parent 6663635bb5
commit fe7284f63c
2 changed files with 6 additions and 1 deletions

View File

@ -4,9 +4,12 @@ export {
onBeforeRouteUpdate,
onBeforeRouteLeave,
RouterLink,
RouterView,
useLink,
createWebHashHistory,
createRouter,
createWebHistory,
createMemoryHistory,
createRouter
Plugin,
ApplyPluginsType
} from '@webank/fes-runtime';

View File

@ -5,9 +5,11 @@ export {
onBeforeRouteUpdate,
onBeforeRouteLeave,
RouterLink,
RouterView,
useLink,
createWebHashHistory,
createWebHistory,
createMemoryHistory,
createRouter
} from 'vue-router';