standalone step 2
This commit is contained in:
parent
0f187661b5
commit
850cbcedb4
@ -2,7 +2,7 @@ import { NgModule } from '@angular/core';
|
|||||||
import { HashLocationStrategy, LocationStrategy } from '@angular/common';
|
import { HashLocationStrategy, LocationStrategy } from '@angular/common';
|
||||||
import { AppComponent } from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
import { AppRoutingModule } from './app-routing.module';
|
import { AppRoutingModule } from './app-routing.module';
|
||||||
import { AppLayoutModule } from './layout/app.layout.module';
|
|
||||||
import { NotfoundComponent } from './demo/components/notfound/notfound.component';
|
import { NotfoundComponent } from './demo/components/notfound/notfound.component';
|
||||||
import { ProductService } from './demo/service/product.service';
|
import { ProductService } from './demo/service/product.service';
|
||||||
import { CountryService } from './demo/service/country.service';
|
import { CountryService } from './demo/service/country.service';
|
||||||
@ -16,9 +16,8 @@ import { PhotoService } from './demo/service/photo.service';
|
|||||||
declarations: [AppComponent],
|
declarations: [AppComponent],
|
||||||
imports: [
|
imports: [
|
||||||
AppRoutingModule,
|
AppRoutingModule,
|
||||||
AppLayoutModule,
|
|
||||||
NotfoundComponent
|
NotfoundComponent
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
{ provide: LocationStrategy, useClass: HashLocationStrategy },
|
{ provide: LocationStrategy, useClass: HashLocationStrategy },
|
||||||
CountryService, CustomerService, EventService, IconService, NodeService,
|
CountryService, CustomerService, EventService, IconService, NodeService,
|
||||||
|
@ -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 { }
|
|
@ -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 { }
|
|
Loading…
Reference in New Issue
Block a user