File tree Expand file tree Collapse file tree 3 files changed +7
-21
lines changed
aio/content/examples/angular-compiler-options/src Expand file tree Collapse file tree 3 files changed +7
-21
lines changed Original file line number Diff line number Diff line change 1- import { Component } from '@angular/core' ;
1+ import { Component } from '@angular/core' ;
22
33@Component ( {
4+ standalone : true ,
45 selector : 'app-root' ,
56 templateUrl : './app.component.html' ,
67 styleUrls : [ './app.component.css' ] ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- import { platformBrowserDynamic } from '@angular/platform-browser-dynamic ' ;
1+ import { bootstrapApplication , provideProtractorTestingSupport } from '@angular/platform-browser' ;
22
3- import { AppModule } from './app/app.module ' ;
3+ import { AppComponent } from './app/app.component ' ;
44
5- platformBrowserDynamic ( ) . bootstrapModule ( AppModule )
6- . catch ( err => console . error ( err ) ) ;
5+ bootstrapApplication ( AppComponent , {
6+ providers : [ provideProtractorTestingSupport ( ) ] ,
7+ } ) . catch ( ( err ) => console . error ( err ) ) ;
You can’t perform that action at this time.
0 commit comments