File tree Expand file tree Collapse file tree 3 files changed +8
-18
lines changed Expand file tree Collapse file tree 3 files changed +8
-18
lines changed Original file line number Diff line number Diff line change 11import { Component } from '@angular/core' ;
2+ import { CommonModule } from '@angular/common' ;
3+ import { FormsModule } from '@angular/forms' ;
4+ import { RoundProgressModule } from 'angular-svg-round-progressbar' ;
25
36@Component ( {
47 selector : 'demo' ,
58 templateUrl : './demo.component.html' ,
69 styleUrls : [ './demo.component.css' ] ,
10+ standalone : true ,
11+ imports : [ RoundProgressModule , CommonModule , FormsModule ]
712} )
813export class DemoComponent {
914 current = 27 ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import { enableProdMode } from '@angular/core' ;
2- import { platformBrowserDynamic } from '@angular/platform-browser-dynamic' ;
3-
4- import { DemoModule } from './app/demo.module' ;
2+ import { bootstrapApplication } from '@angular/platform-browser' ;
3+ import { DemoComponent } from './app/demo.component' ;
54import { environment } from './environments/environment' ;
65
76if ( environment . production ) {
87 enableProdMode ( ) ;
98}
109
11- platformBrowserDynamic ( )
12- . bootstrapModule ( DemoModule )
13- . catch ( error => console . error ( error ) ) ;
10+ bootstrapApplication ( DemoComponent ) . catch ( error => console . error ( error ) ) ;
You can’t perform that action at this time.
0 commit comments