This is the code that runs https://bandolier.learnjsthehardway.com/ for you to review. It uses the https://git.learnjsthehardway.com/learn-javascript-the-hard-way/bandolier-template to create the documentation for the project.
https://bandolier.learnjsthehardway.com/
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.
25 lines
894 B
25 lines
894 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";
|
|
import DocsBrowser from "$/admin/pages/DocsBrowser.svelte";
|
|
|
|
export default {
|
|
"/docs/*": DocsBrowser,
|
|
"/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,
|
|
}
|
|
|