mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
21 lines
468 B
TypeScript
21 lines
468 B
TypeScript
import {Component, NgModule} from '@angular/core';
|
|
import {BrowserModule} from '@angular/platform-browser';
|
|
import {ServerModule} from '@angular/platform-server';
|
|
import {Lib2Module} from 'lib2_built';
|
|
|
|
@Component({
|
|
selector: 'test-app',
|
|
template: '<test-cmp></test-cmp>',
|
|
})
|
|
export class TestApp {}
|
|
|
|
@NgModule({
|
|
declarations: [TestApp],
|
|
bootstrap: [TestApp],
|
|
imports: [
|
|
Lib2Module,
|
|
BrowserModule,
|
|
ServerModule,
|
|
],
|
|
})
|
|
export class AppModule {}
|