From: Eduardo San Martin Morote Date: Sat, 12 Oct 2019 15:02:18 +0000 (+0200) Subject: feat(hash): add wip hash history X-Git-Tag: v4.0.0-alpha.0~198 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47f06b1e5f7bb71bb4292f57ee9c3ae90a74751e;p=thirdparty%2Fvuejs%2Frouter.git feat(hash): add wip hash history --- 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('/#/') +}