From 52aaa951af266b5c6ec8cb46a494eb6129a45ec4 Mon Sep 17 00:00:00 2001 From: Komek Hayytnazarov Date: Thu, 7 Jul 2022 10:37:50 +0500 Subject: [PATCH] menu layout changed --- src/router/index.js | 12 +++++----- src/stores/top-menu.js | 50 +++++++++++++++++++++--------------------- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 11f5148..53be3f5 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -73,7 +73,7 @@ import Slider from "../views/slider/Main.vue"; import ImageZoom from "../views/image-zoom/Main.vue"; const routes = [ - { + /* { path: "/", component: SideMenu, children: [ @@ -408,8 +408,8 @@ const routes = [ component: ImageZoom, }, ], - }, - { + }, */ + /* { path: "/simple-menu", component: SimpleMenu, children: [ @@ -744,13 +744,13 @@ const routes = [ component: ImageZoom, }, ], - }, + }, */ { - path: "/top-menu", + path: "/", component: TopMenu, children: [ { - path: "dashboard-overview-1", + path: "/", name: "top-menu-dashboard-overview-1", component: DashboardOverview1, }, diff --git a/src/stores/top-menu.js b/src/stores/top-menu.js index f88cb83..d7dbcbd 100644 --- a/src/stores/top-menu.js +++ b/src/stores/top-menu.js @@ -30,31 +30,31 @@ export const useTopMenuStore = defineStore("topMenu", { }, ], }, - { - icon: "BoxIcon", - pageName: "top-menu-menu-layout", - title: "Menu Layout", - subMenu: [ - { - icon: "", - pageName: "side-menu-dashboard-overview-1", - title: "Side Menu", - ignore: true, - }, - { - icon: "", - pageName: "simple-menu-dashboard-overview-1", - title: "Simple Menu", - ignore: true, - }, - { - icon: "", - pageName: "top-menu-dashboard-overview-1", - title: "Top Menu", - ignore: true, - }, - ], - }, + // { + // icon: "BoxIcon", + // pageName: "top-menu-menu-layout", + // title: "Menu Layout", + // subMenu: [ + // { + // icon: "", + // pageName: "side-menu-dashboard-overview-1", + // title: "Side Menu", + // ignore: true, + // }, + // { + // icon: "", + // pageName: "simple-menu-dashboard-overview-1", + // title: "Simple Menu", + // ignore: true, + // }, + // { + // icon: "", + // pageName: "top-menu-dashboard-overview-1", + // title: "Top Menu", + // ignore: true, + // }, + // ], + // }, { icon: "ActivityIcon", pageName: "top-menu-apps",