Skip to content

Instantly share code, notes, and snippets.

@kutanov
Last active April 10, 2020 01:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kutanov/b9247646095d91a6152330ced4dde4c3 to your computer and use it in GitHub Desktop.
Save kutanov/b9247646095d91a6152330ced4dde4c3 to your computer and use it in GitHub Desktop.
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { HomeComponent } from './home.component';
import { RouterModule } from '@angular/router';
import { TranslocoRootModule } from '../transloco-root.module';
import { TranslocoLocaleModule } from '@ngneat/transloco-locale';
@NgModule({
declarations: [
HomeComponent
],
imports: [
CommonModule,
RouterModule.forChild([{ path: '', component: HomeComponent }]),
TranslocoRootModule
],
exports: [HomeComponent]
})
export class HomeModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment