Merge pull request #75 from dderbentsov/UC-26
Удалил HomePage, фикс пропсов
This commit is contained in:
@@ -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",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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 { 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 },
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user