]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: remove outdated imports from exploration
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 14 Oct 2019 18:10:13 +0000 (20:10 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 14 Oct 2019 18:10:13 +0000 (20:10 +0200)
explorations/html5.ts

index 7dacde96d6f8b1b974bfc5dd14da325c677b39a0..dfaf5a51f84761f14b735b2836be4387486823ad 100644 (file)
@@ -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 = {