refactor file tree
This commit is contained in:
@@ -3,8 +3,8 @@ import type { RouteRecordRaw } from "vue-router";
|
||||
const chartRoutes: RouteRecordRaw[] = [
|
||||
{
|
||||
path: "/management/data-charts",
|
||||
name: "ManagementDataCharts",
|
||||
component: () => import("@/pages/management/ManagementDataCharts.vue"),
|
||||
name: "StoreDataCharts",
|
||||
component: () => import("@/pages/store/StoreDataCharts.vue"),
|
||||
meta: {
|
||||
depth: 3,
|
||||
navBarVisible: true,
|
||||
@@ -18,7 +18,7 @@ const chartRoutes: RouteRecordRaw[] = [
|
||||
{
|
||||
path: "/management/customer-data-charts",
|
||||
name: "CustomerDataCharts",
|
||||
component: () => import("@/pages/management/CustomerDataCharts.vue"),
|
||||
component: () => import("@/pages/customer/CustomerDataCharts.vue"),
|
||||
meta: {
|
||||
depth: 3,
|
||||
navBarVisible: true,
|
||||
@@ -32,7 +32,7 @@ const chartRoutes: RouteRecordRaw[] = [
|
||||
{
|
||||
path: "/management/customers/:id/data-charts",
|
||||
name: "CustomerDataChartsFromCustomer",
|
||||
component: () => import("@/pages/management/CustomerDataCharts.vue"),
|
||||
component: () => import("@/pages/customer/CustomerDataCharts.vue"),
|
||||
meta: {
|
||||
depth: 5,
|
||||
navBarVisible: true,
|
||||
|
||||
Reference in New Issue
Block a user