Loading karaokatalog/ui/static/karaokatalog.js 0 → 100644 +15 −0 Original line number Diff line number Diff line import "./lib/mithril.min.js" import All from "./components/pages/All.js" import Favorites from "./components/pages/Favorites.js" /* * We leave the default routing strategy (https://mithril.js.org/route.html#routing-strategies), i.e., * with a #! prefix, and do not change m.route.prefix. * * This is to make it easier to deploy this app on servers without changing the configuration. */ m.route(document.body, "/all", { "/all": All, "/favorites": Favorites, }) Loading
karaokatalog/ui/static/karaokatalog.js 0 → 100644 +15 −0 Original line number Diff line number Diff line import "./lib/mithril.min.js" import All from "./components/pages/All.js" import Favorites from "./components/pages/Favorites.js" /* * We leave the default routing strategy (https://mithril.js.org/route.html#routing-strategies), i.e., * with a #! prefix, and do not change m.route.prefix. * * This is to make it easier to deploy this app on servers without changing the configuration. */ m.route(document.body, "/all", { "/all": All, "/favorites": Favorites, })