eyone-shared-module
TypeScript icon, indicating that this package has built-in type declarations

0.0.31 • Public • Published

HOW TO USE SHARED MODULE

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import { SharedModule } from './shared/shared.module';
import { environment } from '../environments/environment';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    SharedModule.forRoot({ config: environment }),  // Passer la configuration ici
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

/eyone-shared-module/

    Package Sidebar

    Install

    npm i eyone-shared-module

    Weekly Downloads

    5

    Version

    0.0.31

    License

    none

    Unpacked Size

    5.45 MB

    Total Files

    178

    Last publish

    Collaborators

    • eyone