Fix way to routing, using only one array ! ...continue

This commit is contained in:
Paolo Arena
2019-07-18 13:22:23 +02:00
parent a80bbe3236
commit 116703d6cc
13 changed files with 593 additions and 70 deletions

View File

@@ -1,4 +1,5 @@
import { IAction } from '@src/model/Projects'
import { Component } from 'vue-router/types/router'
export interface IPost {
title: string
@@ -72,12 +73,42 @@ export interface IMenuList {
}
export interface IListRoutes {
route: string
faIcon?: string
materialIcon?: string
path: string
name: string
materialIcon?: string
component?: Component
reqauth?: boolean
inmenu?: boolean
submenu?: boolean
// ------------------------
faIcon?: string
text?: string
routes2?: IListRoutes[]
level_parent?: number
level_child?: number
}
export interface IPerson {
index?: number
tab?: string
name: string
sub1: string
sub2?: string
sub3?: string
img: string
cell?: string
email?: string
paginaweb?: string
paginafb?: string
intro?: string
info?: string
vario?: string
}
export interface ILang {
label: string
icon: string
value: string
image: string
short: string
}