Удалил HomePage

This commit is contained in:
megavrilinvv
2022-10-27 17:43:23 +03:00
parent 92a25cecc7
commit cc84f4e26d
3 changed files with 2 additions and 19 deletions

View File

@@ -17,15 +17,9 @@ export default {
data() { data() {
return { return {
pageSettings: [ pageSettings: [
{
id: "home",
path: "#/",
active: true,
icon: "icon-home",
},
{ {
id: "calendar", id: "calendar",
path: "#/calendar", path: "#/",
active: false, active: false,
icon: "icon-calendar-2", icon: "icon-calendar-2",
}, },

View File

@@ -1,9 +0,0 @@
<template lang="pug">
div HomePage
</template>
<script>
export default {
name: "TheHome",
};
</script>

View File

@@ -1,5 +1,4 @@
import { createRouter, createWebHashHistory } from "vue-router"; import { createRouter, createWebHashHistory } from "vue-router";
import TheHome from "@/pages/home/TheHome.vue";
import TheCalendar from "@/pages/calendar/TheCalendar"; import TheCalendar from "@/pages/calendar/TheCalendar";
import TheUser from "@/pages/clients/TheClients"; import TheUser from "@/pages/clients/TheClients";
import TheSettings from "@/pages/settings/TheSettings"; import TheSettings from "@/pages/settings/TheSettings";
@@ -7,8 +6,7 @@ import TheSettings from "@/pages/settings/TheSettings";
export default createRouter({ export default createRouter({
history: createWebHashHistory(), history: createWebHashHistory(),
routes: [ routes: [
{ path: "/", component: TheHome }, { path: "/", component: TheCalendar },
{ path: "/calendar", component: TheCalendar },
{ path: "/clients", component: TheUser }, { path: "/clients", component: TheUser },
{ path: "/settings", component: TheSettings }, { path: "/settings", component: TheSettings },
], ],