This is the template project that's checked out and configured when you run the bando-up command from ljsthw-bandolier. This is where the code really lives.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bandolier-template/admin/routes.js

24 lines
808 B

import Home from "$/admin/pages/Home.svelte";
import Create from "$/admin/pages/Create.svelte";
import Stats from "$/admin/pages/Stats.svelte";
import Table from "$/admin/pages/Table.svelte";
import Errors from "$/admin/pages/Errors.svelte";
import Routes from "$/admin/pages/Routes.svelte";
import ReadUpdate from "$/admin/pages/ReadUpdate.svelte";
import EmailConfig from "$/admin/pages/EmailConfig.svelte";
import NotFound from "$/client/pages/NotFound.svelte";
import Components from "./bando/Components.svelte";
export default {
"/bando/components/:name?": Components,
"/errors/": Errors,
"/routes/": Routes,
"/table/create/:table/": Create,
"/table/:table/": Table,
"/table/:table/:row_id/": ReadUpdate,
"/:what?:": Home,
"/email/": EmailConfig,
"/stats/": Stats,
"*": NotFound,
}