import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import { NewlineToBrPipe } from './newline-to-br.pipe';  // 导入管道

@NgModule({
  declarations: [AppComponent, NewlineToBrPipe],  // 声明管道
  imports: [BrowserModule],
  bootstrap: [AppComponent],
})
export class AppModule {}
