[WIP] Сделал редирект, поправил стили
This commit is contained in:
@@ -3,7 +3,7 @@ import TheCalendar from "@/pages/calendar/TheCalendar";
|
||||
import TheUser from "@/pages/clients/TheClients";
|
||||
import TheSettings from "@/pages/settings/TheSettings";
|
||||
import TheLogin from "@/pages/login/TheLogin";
|
||||
import LoggedInLayout from "@/components/LoggedInLayout/LoggedInLayout";
|
||||
import LoggedInLayout from "@/components/LoggedInLayout";
|
||||
|
||||
export default createRouter({
|
||||
history: createWebHashHistory(),
|
||||
@@ -16,6 +16,7 @@ export default createRouter({
|
||||
path: "/",
|
||||
component: LoggedInLayout,
|
||||
children: [
|
||||
{ path: "", redirect: "calendar" },
|
||||
{ path: "calendar", component: TheCalendar },
|
||||
{ path: "clients", component: TheUser },
|
||||
{ path: "settings", component: TheSettings },
|
||||
|
||||
Reference in New Issue
Block a user