Skip to content

Instantly share code, notes, and snippets.

@kutanov

kutanov/home.module.ts

Last active Apr 10, 2020
Embed
What would you like to do?
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
You can’t perform that action at this time.