-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b937249
commit 0250a30
Showing
6 changed files
with
37 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
<script setup lang="ts"> | ||
import LayoutLeft from "../ui/layouts/settings/LayoutLeft.vue"; | ||
</script> | ||
|
||
<template> | ||
|
||
<section class="h-[calc(100vh-calc(var(--spacing)*14))] flex"> | ||
<LayoutLeft class="basis-36" /> | ||
<section class="basis-full w-full h-full p-4"> | ||
<RouterView /> | ||
</section> | ||
</section> | ||
</template> | ||
|
||
<style scoped lang="scss"> | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
import { createRouter, createWebHistory } from "vue-router"; | ||
import ModEventBus from "./ModEventBus.ts"; | ||
import { ModEventBus } from "./ModEventBus.ts"; | ||
|
||
const router = createRouter({ | ||
history: createWebHistory(), | ||
routes: [ | ||
{ | ||
path: "/", | ||
name: "FrmHome", | ||
component: () => import("../app/FrmHome.vue") | ||
component: () => import("../app/FrmHome.vue"), | ||
}, | ||
{ | ||
path: "/settings", | ||
name: "FrmSettings", | ||
component: () => import("../app/FrmSettings.vue"), | ||
children: [] | ||
} | ||
] | ||
children: [], | ||
}, | ||
], | ||
}); | ||
|
||
ModEventBus.on("router:push", async (path: string) => { | ||
await router.push(path); | ||
}); | ||
|
||
export default router; | ||
export default router; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters