feat: add app shell (angular-material)
Add app shell built using angular-material and flex-layout. Refractor code due to configuration changes. Fixes #52
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
import { Route, extract } from '../../app/core';
|
||||
import { Route, extract } from '../core';
|
||||
import { AccountingComponent } from './accounting.component';
|
||||
|
||||
const routes: Routes = [
|
||||
Route.withShell([
|
||||
{ path: 'accounting', component: AccountingComponent}
|
||||
{
|
||||
path: 'accounting',
|
||||
component: AccountingComponent,
|
||||
data: { title: extract('Accounting') }
|
||||
}
|
||||
])
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user