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, onBeforeRouteUpdate,
onBeforeRouteLeave, onBeforeRouteLeave,
RouterLink, RouterLink,
RouterView,
useLink, useLink,
createWebHashHistory, createWebHashHistory,
createRouter, createWebHistory,
createMemoryHistory,
createRouter
Plugin, Plugin,
ApplyPluginsType ApplyPluginsType
} from '@webank/fes-runtime'; } from '@webank/fes-runtime';

View File

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