Add images, update services, fix routes
This commit is contained in:
@@ -1,18 +1,35 @@
|
||||
import { Routes } from '@angular/router';
|
||||
import { ButtonDoc } from '@/src/views/uikit/buttondoc';
|
||||
import { ChartDoc } from '@/src/views/uikit/chartdoc';
|
||||
import { FileDoc } from '@/src/views/uikit/filedoc';
|
||||
import { FormLayoutDoc } from '@/src/views/uikit/formlayoutdoc';
|
||||
import { InputDoc } from '@/src/views/uikit/inputdoc';
|
||||
import { ListDoc } from '@/src/views/uikit/listdoc';
|
||||
import { MediaDoc } from '@/src/views/uikit/mediadoc';
|
||||
import { MessagesDoc } from '@/src/views/uikit/messagesdoc';
|
||||
import { MiscDoc } from '@/src/views/uikit/miscdoc';
|
||||
import { PanelsDoc } from '@/src/views/uikit/panelsdoc';
|
||||
import { TableDoc } from '@/src/views/uikit/tabledoc';
|
||||
import { TreeDoc } from '@/src/views/uikit/treedoc';
|
||||
import { MenuDoc } from '@/src/views/uikit/menudoc';
|
||||
import { OverlayDoc } from '@/src/views/uikit/overlaydoc';
|
||||
import { TimelineDoc } from '@/src/views/uikit/timelinedoc';
|
||||
|
||||
export default [
|
||||
{ path: 'button', data: { breadcrumb: 'Button' }, loadComponent: () => import('./buttondoc').then(c => c.ButtonDoc) },
|
||||
{ path: 'charts', data: { breadcrumb: 'Charts' }, loadComponent: () => import('./chartdoc').then(c => c.ChartDoc) },
|
||||
{ path: 'file', data: { breadcrumb: 'File' }, loadComponent: () => import('./filedoc').then(c => c.FileDoc) },
|
||||
{ path: 'formlayout', data: { breadcrumb: 'Form Layout' }, loadComponent: () => import('./formlayoutdoc').then(c => c.FormLayoutDoc) },
|
||||
{ path: 'input', data: { breadcrumb: 'Input' }, loadComponent: () => import('./inputdoc').then(c => c.InputDoc) },
|
||||
{ path: 'list', data: { breadcrumb: 'List' }, loadComponent: () => import('./listdoc').then(c => c.ListDoc) },
|
||||
{ path: 'media', data: { breadcrumb: 'Media' }, loadComponent: () => import('./mediadoc').then(c => c.MediaDoc) },
|
||||
{ path: 'message', data: { breadcrumb: 'Message' }, loadComponent: () => import('./messagesdoc').then(c => c.MessagesDoc) },
|
||||
{ path: 'misc', data: { breadcrumb: 'Misc' }, loadComponent: () => import('./miscdoc').then(c => c.MiscDoc) },
|
||||
{ path: 'panel', data: { breadcrumb: 'Panel' }, loadComponent: () => import('./panelsdoc').then(c => c.PanelsDoc) },
|
||||
{ path: 'table', data: { breadcrumb: 'Table' }, loadComponent: () => import('./tabledoc').then(c => c.TableDoc) },
|
||||
{ path: 'tree', data: { breadcrumb: 'Tree' }, loadComponent: () => import('./treedoc').then(c => c.TreeDoc) },
|
||||
{ path: 'menu', data: { breadcrumb: 'Menu' }, loadComponent: () => import('./menudoc').then(c => c.MenuDoc) },
|
||||
{ path: 'button', data: { breadcrumb: 'Button' }, component: ButtonDoc},
|
||||
{ path: 'charts', data: { breadcrumb: 'Charts' }, component: ChartDoc },
|
||||
{ path: 'file', data: { breadcrumb: 'File' }, component: FileDoc },
|
||||
{ path: 'formlayout', data: { breadcrumb: 'Form Layout' }, component: FormLayoutDoc },
|
||||
{ path: 'input', data: { breadcrumb: 'Input' }, component: InputDoc },
|
||||
{ path: 'list', data: { breadcrumb: 'List' }, component: ListDoc },
|
||||
{ path: 'media', data: { breadcrumb: 'Media' }, component: MediaDoc },
|
||||
{ path: 'message', data: { breadcrumb: 'Message' }, component: MessagesDoc },
|
||||
{ path: 'misc', data: { breadcrumb: 'Misc' }, component: MiscDoc },
|
||||
{ path: 'panel', data: { breadcrumb: 'Panel' }, component: PanelsDoc },
|
||||
{ path: 'timeline', data: { breadcrumb: 'Timeline' }, component: TimelineDoc },
|
||||
{ path: 'table', data: { breadcrumb: 'Table' }, component: TableDoc },
|
||||
{ path: 'overlay', data: { breadcrumb: 'Overlay' }, component: OverlayDoc },
|
||||
{ path: 'tree', data: { breadcrumb: 'Tree' }, component: TreeDoc },
|
||||
{ path: 'menu', data: { breadcrumb: 'Menu' }, component: MenuDoc },
|
||||
{ path: '**', redirectTo: '/notfound' }
|
||||
] as Routes;
|
||||
|
||||
Reference in New Issue
Block a user