@virket/events-core
v1.0.3
Published
Virket Events core module (interfaces, models, repositories, services, state management and more) for an ionic5 app
Downloads
3
Readme
Virket's Events core module
Module that implements
- Types (interfaces)
- Model
- Repository
- Service
- State management (actions, effects, reducers, selectors)
Using your module in an Ionic 5 app
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
...
// Import the module
import { EventsCoreModule } from '@virket/events-core/dist/src';
@NgModule({
declarations: [AppComponent],
entryComponents: [],
imports: [
...
StoreModule.forRoot({}),
EffectsModule.forRoot([]),
...
EventsCoreModule.forRoot({
apiUrl: environment.apiUrl,
instanceName: environment.instanceName
}),
...
],
providers: [
...
],
bootstrap: [AppComponent]
})
export class AppModule {}