Finish removing modules
This commit is contained in:
parent
d9a130d34a
commit
9052990d99
@ -8,14 +8,14 @@ export const APP_ROUTES: Route[] = [
|
||||
children: [
|
||||
{ path: '', loadComponent: () => import('./demo/components/dashboard/dashboard.component').then(m => m.DashboardComponent) },
|
||||
{ path: 'uikit', loadChildren: () => import('./demo/components/uikit/uikit.routes').then(m => m.UIKIT_ROUTES) },
|
||||
{ path: 'utilities', loadChildren: () => import('./demo/components/utilities/utilities.module').then(m => m.UtilitiesModule) },
|
||||
{ path: 'documentation', loadChildren: () => import('./demo/components/documentation/documentation.module').then(m => m.DocumentationModule) },
|
||||
{ path: 'blocks', loadChildren: () => import('./demo/components/primeblocks/primeblocks.module').then(m => m.PrimeBlocksModule) },
|
||||
{ path: 'pages', loadChildren: () => import('./demo/components/pages/pages.module').then(m => m.PagesModule) }
|
||||
{ path: 'utilities', loadChildren: () => import('./demo/components/utilities/utilities.routes').then(m => m.UTILTIES_ROUTES) },
|
||||
{ path: 'documentation', loadComponent: () => import('./demo/components/documentation/documentation.component').then(m => m.DocumentationComponent) },
|
||||
{ path: 'blocks', loadComponent: () => import('./demo/components/primeblocks/blocks/blocks.component').then(m => m.BlocksComponent) },
|
||||
{ path: 'pages', loadChildren: () => import('./demo/components/pages/pages.routes').then(m => m.PAGES_ROUTES) }
|
||||
]
|
||||
},
|
||||
{ path: 'auth', loadChildren: () => import('./demo/components/auth/auth.routes').then(m => m.AUTH_ROUTES) },
|
||||
{ path: 'landing', loadChildren: () => import('./demo/components/landing/landing.module').then(m => m.LandingModule) },
|
||||
{ path: 'landing', loadComponent: () => import('./demo/components/landing/landing.component').then(m => m.LandingComponent) },
|
||||
{ path: 'notfound', component: NotfoundComponent },
|
||||
{ path: '**', redirectTo: '/notfound' },
|
||||
];
|
||||
|
@ -1,11 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { AccessComponent } from './access.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild([
|
||||
{ path: '', component: AccessComponent }
|
||||
])],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class AccessRoutingModule { }
|
@ -1,16 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { ButtonModule } from 'primeng/button';
|
||||
|
||||
import { AccessRoutingModule } from './access-routing.module';
|
||||
import { AccessComponent } from './access.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
AccessRoutingModule,
|
||||
ButtonModule,
|
||||
AccessComponent
|
||||
]
|
||||
})
|
||||
export class AccessModule { }
|
@ -1,11 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { AuthRoutingModule } from './auth.routes';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
AuthRoutingModule
|
||||
]
|
||||
})
|
||||
export class AuthModule { }
|
@ -1,11 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { ErrorComponent } from './error.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild([
|
||||
{ path: '', component: ErrorComponent }
|
||||
])],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class ErrorRoutingModule { }
|
@ -1,15 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { ErrorRoutingModule } from './error-routing.module';
|
||||
import { ErrorComponent } from './error.component';
|
||||
import { ButtonModule } from 'primeng/button';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
ErrorRoutingModule,
|
||||
ButtonModule,
|
||||
ErrorComponent
|
||||
]
|
||||
})
|
||||
export class ErrorModule { }
|
@ -1,11 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { LoginComponent } from './login.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild([
|
||||
{ path: '', component: LoginComponent }
|
||||
])],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class LoginRoutingModule { }
|
@ -1,23 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { LoginRoutingModule } from './login-routing.module';
|
||||
import { LoginComponent } from './login.component';
|
||||
import { ButtonModule } from 'primeng/button';
|
||||
import { CheckboxModule } from 'primeng/checkbox';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { PasswordModule } from 'primeng/password';
|
||||
import { InputTextModule } from 'primeng/inputtext';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
LoginRoutingModule,
|
||||
ButtonModule,
|
||||
CheckboxModule,
|
||||
InputTextModule,
|
||||
FormsModule,
|
||||
PasswordModule,
|
||||
LoginComponent
|
||||
]
|
||||
})
|
||||
export class LoginModule { }
|
@ -1,11 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { DocumentationComponent } from './documentation.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild([
|
||||
{ path: '', component: DocumentationComponent }
|
||||
])],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class DocumentationRoutingModule { }
|
@ -1,13 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { DocumentationRoutingModule } from './documentation-routing.module';
|
||||
import { DocumentationComponent } from './documentation.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
DocumentationRoutingModule,
|
||||
DocumentationComponent
|
||||
]
|
||||
})
|
||||
export class DocumentationModule { }
|
@ -1,11 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { LandingComponent } from './landing.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild([
|
||||
{ path: '', component: LandingComponent }
|
||||
])],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class LandingRoutingModule { }
|
@ -1,23 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { LandingRoutingModule } from './landing-routing.module';
|
||||
import { LandingComponent } from './landing.component';
|
||||
import { StyleClassModule } from 'primeng/styleclass';
|
||||
import { DividerModule } from 'primeng/divider';
|
||||
import { ChartModule } from 'primeng/chart';
|
||||
import { PanelModule } from 'primeng/panel';
|
||||
import { ButtonModule } from 'primeng/button';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
LandingRoutingModule,
|
||||
DividerModule,
|
||||
StyleClassModule,
|
||||
ChartModule,
|
||||
PanelModule,
|
||||
ButtonModule,
|
||||
LandingComponent
|
||||
]
|
||||
})
|
||||
export class LandingModule { }
|
@ -1,11 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { CrudComponent } from './crud.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild([
|
||||
{ path: '', component: CrudComponent }
|
||||
])],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class CrudRoutingModule { }
|
@ -1,41 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { CrudRoutingModule } from './crud-routing.module';
|
||||
import { CrudComponent } from './crud.component';
|
||||
import { TableModule } from 'primeng/table';
|
||||
import { FileUploadModule } from 'primeng/fileupload';
|
||||
import { ButtonModule } from 'primeng/button';
|
||||
import { RippleModule } from 'primeng/ripple';
|
||||
import { ToastModule } from 'primeng/toast';
|
||||
import { ToolbarModule } from 'primeng/toolbar';
|
||||
import { RatingModule } from 'primeng/rating';
|
||||
import { InputTextModule } from 'primeng/inputtext';
|
||||
import { InputTextareaModule } from 'primeng/inputtextarea';
|
||||
import { DropdownModule } from 'primeng/dropdown';
|
||||
import { RadioButtonModule } from 'primeng/radiobutton';
|
||||
import { InputNumberModule } from 'primeng/inputnumber';
|
||||
import { DialogModule } from 'primeng/dialog';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
CrudRoutingModule,
|
||||
TableModule,
|
||||
FileUploadModule,
|
||||
FormsModule,
|
||||
ButtonModule,
|
||||
RippleModule,
|
||||
ToastModule,
|
||||
ToolbarModule,
|
||||
RatingModule,
|
||||
InputTextModule,
|
||||
InputTextareaModule,
|
||||
DropdownModule,
|
||||
RadioButtonModule,
|
||||
InputNumberModule,
|
||||
DialogModule,
|
||||
CrudComponent
|
||||
]
|
||||
})
|
||||
export class CrudModule { }
|
@ -1,11 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { EmptyDemoComponent } from './emptydemo.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild([
|
||||
{ path: '', component: EmptyDemoComponent }
|
||||
])],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class EmptyDemoRoutingModule { }
|
@ -1,13 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { EmptyDemoRoutingModule } from './emptydemo-routing.module';
|
||||
import { EmptyDemoComponent } from './emptydemo.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
EmptyDemoRoutingModule,
|
||||
EmptyDemoComponent
|
||||
]
|
||||
})
|
||||
export class EmptyDemoModule { }
|
@ -1,13 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild([
|
||||
{ path: 'crud', loadChildren: () => import('./crud/crud.module').then(m => m.CrudModule) },
|
||||
{ path: 'empty', loadChildren: () => import('./empty/emptydemo.module').then(m => m.EmptyDemoModule) },
|
||||
{ path: 'timeline', loadChildren: () => import('./timeline/timelinedemo.module').then(m => m.TimelineDemoModule) },
|
||||
{ path: '**', redirectTo: '/notfound' }
|
||||
])],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class PagesRoutingModule { }
|
@ -1,12 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { PagesRoutingModule } from './pages-routing.module';
|
||||
|
||||
@NgModule({
|
||||
declarations: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
PagesRoutingModule
|
||||
]
|
||||
})
|
||||
export class PagesModule { }
|
8
src/app/demo/components/pages/pages.routes.ts
Normal file
8
src/app/demo/components/pages/pages.routes.ts
Normal file
@ -0,0 +1,8 @@
|
||||
import { Route } from '@angular/router';
|
||||
|
||||
export const PAGES_ROUTES: Route[] = [
|
||||
{ path: 'crud', loadComponent: () => import('./crud/crud.component').then(m => m.CrudComponent) },
|
||||
{ path: 'empty', loadComponent: () => import('./empty/emptydemo.component').then(m => m.EmptyDemoComponent) },
|
||||
{ path: 'timeline', loadComponent: () => import('./timeline/timelinedemo.component').then(m => m.TimelineDemoComponent) },
|
||||
{ path: '**', redirectTo: '/notfound' }
|
||||
];
|
@ -1,11 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { TimelineDemoComponent } from './timelinedemo.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild([
|
||||
{ path: '', component: TimelineDemoComponent }
|
||||
])],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class TimelineDemoRoutingModule { }
|
@ -1,19 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { TimelineDemoRoutingModule } from './timelinedemo-routing.module';
|
||||
import { TimelineDemoComponent } from './timelinedemo.component';
|
||||
import { TimelineModule } from 'primeng/timeline';
|
||||
import { ButtonModule } from 'primeng/button';
|
||||
import { CardModule } from 'primeng/card';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
TimelineModule,
|
||||
ButtonModule,
|
||||
CardModule,
|
||||
TimelineDemoRoutingModule,
|
||||
TimelineDemoComponent
|
||||
]
|
||||
})
|
||||
export class TimelineDemoModule { }
|
@ -1,11 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { BlocksComponent } from './blocks/blocks.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild([
|
||||
{ path: '', component: BlocksComponent }
|
||||
])],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class PrimeBlocksRoutingModule { }
|
@ -1,30 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { BlocksComponent } from './blocks/blocks.component';
|
||||
import { PrimeBlocksRoutingModule } from './primeblocks-routing.module';
|
||||
import { BlockViewerComponent } from './blockviewer/blockviewer.component'
|
||||
import { ChipModule } from 'primeng/chip';
|
||||
import { CheckboxModule } from 'primeng/checkbox';
|
||||
import { ButtonModule } from 'primeng/button';
|
||||
import { RippleModule } from 'primeng/ripple';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { InputTextModule } from 'primeng/inputtext';
|
||||
import { PasswordModule } from 'primeng/password';
|
||||
import { TooltipModule } from 'primeng/tooltip';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
ButtonModule,
|
||||
RippleModule,
|
||||
ChipModule,
|
||||
CheckboxModule,
|
||||
FormsModule,
|
||||
InputTextModule,
|
||||
PasswordModule,
|
||||
TooltipModule,
|
||||
PrimeBlocksRoutingModule,
|
||||
BlocksComponent, BlockViewerComponent
|
||||
]
|
||||
})
|
||||
export class PrimeBlocksModule { }
|
@ -1,12 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { IconsComponent } from './icons/icons.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild([
|
||||
{ path: 'icons', data: { breadcrumb: 'Prime Icons' }, component: IconsComponent },
|
||||
{ path: '**', redirectTo: '/notfound' }
|
||||
])],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class UtilitiesRoutingModule { }
|
@ -1,15 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { IconsComponent } from './icons/icons.component';
|
||||
import { UtilitiesRoutingModule } from './utilities-routing.module';
|
||||
import { InputTextModule } from 'primeng/inputtext';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
UtilitiesRoutingModule,
|
||||
InputTextModule,
|
||||
IconsComponent
|
||||
]
|
||||
})
|
||||
export class UtilitiesModule { }
|
7
src/app/demo/components/utilities/utilities.routes.ts
Normal file
7
src/app/demo/components/utilities/utilities.routes.ts
Normal file
@ -0,0 +1,7 @@
|
||||
import { Route } from '@angular/router';
|
||||
import { IconsComponent } from './icons/icons.component';
|
||||
|
||||
export const UTILTIES_ROUTES: Route[] = [
|
||||
{ path: 'icons', data: { breadcrumb: 'Prime Icons' }, component: IconsComponent },
|
||||
{ path: '**', redirectTo: '/notfound' }
|
||||
];
|
Loading…
Reference in New Issue
Block a user