79629730

Date: 2025-05-20 03:15:56
Score: 1.5
Natty:
Report link

You must mark your componente as Standalone, after generate your module add in the @component after styleUrls the line

standalone: false

now your component looks like:

import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-solpage1',
  templateUrl: './solpage1.page.html',
  styleUrls: ['./solpage1.page.scss'],
  standalone: false
})
export class Solpage1Page implements OnInit {

  constructor() { }

  ngOnInit() {
  }

}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @component
  • Low reputation (1):
Posted by: Axel Osorio