hash based routing in env file

ref #23
This commit is contained in:
philipp committed 2021-01-02 22:23:32 +01:00
1 parent a50ea15b38
commit 3396d17358
3 files changed
+9 -2

No files matched your search

+5
View File
@@ -7,6 +7,11 @@
});
console.log($router.path);
console.log(config);
if (config.prefersHashRouting) {
if (config.prefersHashRouting === true) {
router.useHashNavigation();
}
}
import localForage from "localforage";
import { addMessages, init, getLocaleFromNavigator } from "svelte-i18n";
import en from "./locales/en.json";