angular/integration/dynamic-compiler/src/lazy.module.ts
Matthieu Riegler e85021a7ba build: Migrate all integration tests with the schematic. (#58160)
All components, directives and pipes will now use standalone as default. Non-standalone decorators have now .

PR Close #58160
2024-10-14 14:58:58 +00:00

15 lines
289 B
TypeScript

import {NgModule, Component} from '@angular/core';
@Component({
selector: 'lazy-component',
template: 'Lazy-loaded component!',
jit: true,
standalone: false,
})
export class LazyComponent {}
@NgModule({
declarations: [LazyComponent],
jit: true,
})
export class LazyModule {}