hash based routing in env file

ref #23
This commit is contained in:
2021-01-02 22:23:32 +01:00
parent a50ea15b38
commit 3396d17358
3 changed files with 9 additions and 2 deletions

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";