Skip to content

Instantly share code, notes, and snippets.

@MrCube42
Created March 28, 2020 12:40
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 MrCube42/9a4204ed6769a5a779183ba4eb45ac35 to your computer and use it in GitHub Desktop.
Save MrCube42/9a4204ed6769a5a779183ba4eb45ac35 to your computer and use it in GitHub Desktop.
Das Root-Modul AppModule bündelt alle sogenannten Feature-Module, wie beispielsweise unser CompanionsModule.
import { Module } from '@nestjs/common';
import { CompanionsModule } from './companions/companions.module';
@Module({
imports: [
CompanionsModule,
// Viele weitere Module denkbar
],
})
export class AppModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment