Merge pull request #75 from dderbentsov/UC-26
Удалил HomePage, фикс пропсов
This commit is contained in:
@@ -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",
|
||||
},
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<template lang="pug">
|
||||
div HomePage
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "TheHome",
|
||||
};
|
||||
</script>
|
||||
@@ -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 },
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user