Browse Source

add account module to the dev-app

pull/7861/head
mehmet-erim 6 years ago
parent
commit
da2c4beb0a
  1. 4
      npm/ng-packs/apps/dev-app/src/app/app-routing.module.ts
  2. 2
      npm/ng-packs/apps/dev-app/src/app/app.module.ts

4
npm/ng-packs/apps/dev-app/src/app/app-routing.module.ts

@ -7,6 +7,10 @@ const routes: Routes = [
pathMatch: 'full', pathMatch: 'full',
loadChildren: () => import('./home/home.module').then(m => m.HomeModule), loadChildren: () => import('./home/home.module').then(m => m.HomeModule),
}, },
{
path: 'account',
loadChildren: () => import('@abp/ng.account').then(m => m.AccountModule.forLazy()),
},
{ {
path: 'identity', path: 'identity',
loadChildren: () => import('@abp/ng.identity').then(m => m.IdentityModule.forLazy()), loadChildren: () => import('@abp/ng.identity').then(m => m.IdentityModule.forLazy()),

2
npm/ng-packs/apps/dev-app/src/app/app.module.ts

@ -11,6 +11,7 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { InspectorModule } from '@ngneat/inspector'; import { InspectorModule } from '@ngneat/inspector';
import { NgxsLoggerPluginModule } from '@ngxs/logger-plugin'; import { NgxsLoggerPluginModule } from '@ngxs/logger-plugin';
import { NgxsModule } from '@ngxs/store'; import { NgxsModule } from '@ngxs/store';
import { AccountConfigModule } from '@abp/ng.account/config';
import { environment } from '../environments/environment'; import { environment } from '../environments/environment';
import { AppRoutingModule } from './app-routing.module'; import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component'; import { AppComponent } from './app.component';
@ -33,6 +34,7 @@ const INSPECTION_TOOLS = [
skipGetAppConfiguration: false, skipGetAppConfiguration: false,
}), }),
ThemeSharedModule.forRoot(), ThemeSharedModule.forRoot(),
AccountConfigModule.forRoot(),
IdentityConfigModule.forRoot(), IdentityConfigModule.forRoot(),
TenantManagementConfigModule.forRoot(), TenantManagementConfigModule.forRoot(),
SettingManagementConfigModule.forRoot(), SettingManagementConfigModule.forRoot(),

Loading…
Cancel
Save