Merge pull request #75 from dderbentsov/UC-26

Удалил HomePage, фикс пропсов
This commit is contained in:
frontgavrilin
2022-10-27 18:36:24 +03:00
committed by GitHub
3 changed files with 2 additions and 19 deletions

View File

@@ -17,15 +17,9 @@ export default {
data() {
return {
pageSettings: [
{
id: "home",
path: "#/",
active: true,
icon: "icon-home",
},
{
id: "calendar",
path: "#/calendar",
path: "#/",
active: false,
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 TheHome from "@/pages/home/TheHome.vue";
import TheCalendar from "@/pages/calendar/TheCalendar";
import TheUser from "@/pages/clients/TheClients";
import TheSettings from "@/pages/settings/TheSettings";
@@ -7,8 +6,7 @@ import TheSettings from "@/pages/settings/TheSettings";
export default createRouter({
history: createWebHashHistory(),
routes: [
{ path: "/", component: TheHome },
{ path: "/calendar", component: TheCalendar },
{ path: "/", component: TheCalendar },
{ path: "/clients", component: TheUser },
{ path: "/settings", component: TheSettings },
],