From: Eduardo San Martin Morote Date: Mon, 14 Oct 2019 18:10:13 +0000 (+0200) Subject: chore: remove outdated imports from exploration X-Git-Tag: v4.0.0-alpha.0~192 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d837a0e4cfc7a0902dffe7100e5155f73039ef4f;p=thirdparty%2Fvuejs%2Frouter.git chore: remove outdated imports from exploration --- diff --git a/explorations/html5.ts b/explorations/html5.ts index 7dacde96..dfaf5a51 100644 --- a/explorations/html5.ts +++ b/explorations/html5.ts @@ -1,13 +1,12 @@ import { Router, + plugin, // @ts-ignore - HTML5History, + createHistory, // @ts-ignore - HashHistory, + createMemoryHistory, // @ts-ignore - AbstractHistory, - plugin, - createHistory, + createHashHistory, } from '../src' import { RouteComponent } from '../src/types' import Vue from 'vue' @@ -21,7 +20,8 @@ declare global { } } -const routerHistory = createHistory() +const routerHistory = createHistory('/app') +// const routerHistory = createHashHistory() window.h = routerHistory const shared = {