see https://v17.angular.io/guide/standalone-migration I executed: ng g @angular/core:standalone and selected "Convert all components, directives and pipes to standalone"
19 lines
382 B
TypeScript
19 lines
382 B
TypeScript
import { Component, OnInit } from '@angular/core';
|
|
import { RouterLink } from '@angular/router';
|
|
|
|
@Component({
|
|
selector: 'pdb-main-page',
|
|
templateUrl: './main-page.component.html',
|
|
styleUrls: ['./main-page.component.scss'],
|
|
standalone: true,
|
|
imports: [RouterLink]
|
|
})
|
|
export class MainPageComponent implements OnInit {
|
|
|
|
constructor() { }
|
|
|
|
ngOnInit() {
|
|
}
|
|
|
|
}
|