components icon indicating copy to clipboard operation
components copied to clipboard

docs-bug(COMPONENT): Outdated filename app.component.html

Open RoPedro opened this issue 3 months ago • 1 comments

Documentation Feedback

As of Angular 22.x, ng new <proj_name> generates a /src/app/app.html, but the docs still treat the filename as app.component.html in here:

Add the `<mat-slide-toggle>` tag to the ***`app.component.html`*** like so:

```html
<mat-slide-toggle>Toggle me!</mat-slide-toggle>

there is probably other pages that has the same problem, but that's what i've found now.

Affected documentation page

https://material.angular.dev/guide/getting-started

RoPedro avatar Aug 10 '26 14:08 RoPedro

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.