mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
96c90a5012
Removed the default standalone true flag from all the component, directive and pipes PR Close #58922
21 lines
519 B
TypeScript
21 lines
519 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.dev/license
|
|
*/
|
|
|
|
import {Component, inject} from '@angular/core';
|
|
import {Router, RouterOutlet} from '@angular/router';
|
|
|
|
@Component({
|
|
selector: 'app-root',
|
|
templateUrl: './app.component.html',
|
|
styleUrls: ['./app.component.scss'],
|
|
imports: [RouterOutlet],
|
|
})
|
|
export class AppComponent {
|
|
readonly router = inject(Router);
|
|
}
|