This commit is contained in:
2021-05-30 21:20:51 +03:00
parent fcb72a4547
commit 612f326515
5 changed files with 26 additions and 16 deletions
+1 -3
View File
@@ -3,9 +3,9 @@ import "systemjs/dist/extras/amd";
import "systemjs/dist/extras/named-register";
import "systemjs/dist/extras/named-exports";
import "systemjs/dist/extras/transform";
import { createBrowserHistory } from 'history'
import { Apps } from './apps'
import { defineVirtualModule } from './virtual-module'
import history from './history';
const systemJSImport = async (requestUrl: string) => {
const { default: component, mount, unmount } = await System.import(
@@ -19,8 +19,6 @@ export default async ({ apps: rawApps, navigations, config, features }) => {
const apps = new Apps(rawApps)
const history = createBrowserHistory()
let prevPathname = window.location.pathname
async function getApp() {