diff --git a/packages/fes-preset-built-in/src/plugins/generateFiles/core/exports/coreExports.tpl b/packages/fes-preset-built-in/src/plugins/generateFiles/core/exports/coreExports.tpl index f2cd8f24..54118bbf 100644 --- a/packages/fes-preset-built-in/src/plugins/generateFiles/core/exports/coreExports.tpl +++ b/packages/fes-preset-built-in/src/plugins/generateFiles/core/exports/coreExports.tpl @@ -4,9 +4,12 @@ export { onBeforeRouteUpdate, onBeforeRouteLeave, RouterLink, + RouterView, useLink, createWebHashHistory, - createRouter, + createWebHistory, + createMemoryHistory, + createRouter Plugin, ApplyPluginsType } from '@webank/fes-runtime'; diff --git a/packages/fes-runtime/src/index.js b/packages/fes-runtime/src/index.js index c1a2691b..15283e0c 100644 --- a/packages/fes-runtime/src/index.js +++ b/packages/fes-runtime/src/index.js @@ -5,9 +5,11 @@ export { onBeforeRouteUpdate, onBeforeRouteLeave, RouterLink, + RouterView, useLink, createWebHashHistory, createWebHistory, + createMemoryHistory, createRouter } from 'vue-router';