From 850cbcedb430d13359350897cb2c2ff7d7ea233c Mon Sep 17 00:00:00 2001 From: Justin McLellan Date: Sun, 11 Jun 2023 07:45:28 -0500 Subject: [PATCH] standalone step 2 --- src/app/app.module.ts | 9 +++--- src/app/layout/app.layout.module.ts | 44 -------------------------- src/app/layout/config/config.module.ts | 24 -------------- 3 files changed, 4 insertions(+), 73 deletions(-) delete mode 100644 src/app/layout/app.layout.module.ts delete mode 100644 src/app/layout/config/config.module.ts diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 403785c..7aaaa65 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -2,7 +2,7 @@ import { NgModule } from '@angular/core'; import { HashLocationStrategy, LocationStrategy } from '@angular/common'; import { AppComponent } from './app.component'; import { AppRoutingModule } from './app-routing.module'; -import { AppLayoutModule } from './layout/app.layout.module'; + import { NotfoundComponent } from './demo/components/notfound/notfound.component'; import { ProductService } from './demo/service/product.service'; import { CountryService } from './demo/service/country.service'; @@ -15,10 +15,9 @@ import { PhotoService } from './demo/service/photo.service'; @NgModule({ declarations: [AppComponent], imports: [ - AppRoutingModule, - AppLayoutModule, - NotfoundComponent - ], + AppRoutingModule, + NotfoundComponent +], providers: [ { provide: LocationStrategy, useClass: HashLocationStrategy }, CountryService, CustomerService, EventService, IconService, NodeService, diff --git a/src/app/layout/app.layout.module.ts b/src/app/layout/app.layout.module.ts deleted file mode 100644 index 49913fa..0000000 --- a/src/app/layout/app.layout.module.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { NgModule } from '@angular/core'; -import { BrowserModule } from '@angular/platform-browser'; -import { FormsModule } from '@angular/forms'; -import { HttpClientModule } from '@angular/common/http'; -import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; -import { InputTextModule } from 'primeng/inputtext'; -import { SidebarModule } from 'primeng/sidebar'; -import { BadgeModule } from 'primeng/badge'; -import { RadioButtonModule } from 'primeng/radiobutton'; -import { InputSwitchModule } from 'primeng/inputswitch'; -import { RippleModule } from 'primeng/ripple'; -import { AppMenuComponent } from './app.menu.component'; -import { AppMenuitemComponent } from './app.menuitem.component'; -import { RouterModule } from '@angular/router'; -import { AppTopBarComponent } from './app.topbar.component'; -import { AppFooterComponent } from './app.footer.component'; -import { AppConfigModule } from './config/config.module'; -import { AppSidebarComponent } from "./app.sidebar.component"; -import { AppLayoutComponent } from "./app.layout.component"; - -@NgModule({ - imports: [ - BrowserModule, - FormsModule, - HttpClientModule, - BrowserAnimationsModule, - InputTextModule, - SidebarModule, - BadgeModule, - RadioButtonModule, - InputSwitchModule, - RippleModule, - RouterModule, - AppConfigModule, - AppMenuitemComponent, - AppTopBarComponent, - AppFooterComponent, - AppMenuComponent, - AppSidebarComponent, - AppLayoutComponent - ], - exports: [AppLayoutComponent] -}) -export class AppLayoutModule { } diff --git a/src/app/layout/config/config.module.ts b/src/app/layout/config/config.module.ts deleted file mode 100644 index 2b3210a..0000000 --- a/src/app/layout/config/config.module.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { FormsModule } from '@angular/forms'; -import { SidebarModule } from 'primeng/sidebar'; -import { RadioButtonModule } from 'primeng/radiobutton'; -import { ButtonModule } from 'primeng/button'; -import { InputSwitchModule } from 'primeng/inputswitch'; -import { AppConfigComponent } from './app.config.component'; - -@NgModule({ - imports: [ - CommonModule, - FormsModule, - SidebarModule, - RadioButtonModule, - ButtonModule, - InputSwitchModule, - AppConfigComponent - ], - exports: [ - AppConfigComponent - ] -}) -export class AppConfigModule { }