Skip to content

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

Description

@RoPedro

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: docsRelated to the documentationdocsThis issue is related to documentationgemini-triagedLabel noting that an issue has been triaged by gemini

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions