1 | initial version |
To display a blank page without any error messages in Angular 8, you can follow these steps:
Alternatively, you can create a new component and set its template to an empty string. Here's an example:
ng generate component blank-page
.blank-page.component.ts
file and update the template
property to an empty string as follows:import { Component } from '@angular/core';
@Component({
selector: 'app-blank-page',
template: ''
})
export class BlankPageComponent { }
BlankPageComponent
will be displayed with no content, resulting in a blank page with no error messages.