mirror of https://github.com/abpframework/abp.git
4 changed files with 23 additions and 2 deletions
@ -0,0 +1,9 @@ |
|||
import { Component } from '@angular/core'; |
|||
|
|||
@Component({ |
|||
selector: 'my-project-name-settings', |
|||
template: ` |
|||
<h3>MyProjectName Settings</h3> |
|||
`,
|
|||
}) |
|||
export class MyProjectNameSettingsComponent {} |
|||
@ -1,10 +1,12 @@ |
|||
import { NgModule, APP_INITIALIZER } from '@angular/core'; |
|||
import { MyProjectNameConfigService } from './services/my-project-name-config.service'; |
|||
import { noop } from '@abp/ng.core'; |
|||
import { MyProjectNameSettingsComponent } from './components/my-project-name-settings.component'; |
|||
|
|||
@NgModule({ |
|||
declarations: [], |
|||
declarations: [MyProjectNameSettingsComponent], |
|||
providers: [{ provide: APP_INITIALIZER, deps: [MyProjectNameConfigService], multi: true, useFactory: noop }], |
|||
exports: [], |
|||
exports: [MyProjectNameSettingsComponent], |
|||
entryComponents: [MyProjectNameSettingsComponent], |
|||
}) |
|||
export class MyProjectNameConfigModule {} |
|||
|
|||
@ -1,2 +1,3 @@ |
|||
export * from './lib/components/my-project-name-settings.component'; |
|||
export * from './lib/services/my-project-name-config.service'; |
|||
export * from './lib/my-project-name-config.module'; |
|||
|
|||
Loading…
Reference in new issue