From 47f06b1e5f7bb71bb4292f57ee9c3ae90a74751e Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Sat, 12 Oct 2019 17:02:18 +0200 Subject: [PATCH] feat(hash): add wip hash history --- src/history/hash.2.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/history/hash.2.ts diff --git a/src/history/hash.2.ts b/src/history/hash.2.ts new file mode 100644 index 00000000..583a305e --- /dev/null +++ b/src/history/hash.2.ts @@ -0,0 +1,8 @@ +import { RouterHistory } from './common' +import createHistory from './html5.2' + +export default function createHashHistory(): RouterHistory { + // Make sure this implementation is fine in terms of encoding, specially for IE11 + // @ts-ignore: TODO: implement it in history first + return createHistory('/#/') +} -- 2.39.5