Angular Component doesn't generate as Component

Discussão em 'Angular' iniciado por Simon, Junho 20, 2025.

  1. Simon

    Simon Guest

    Picture of the command here

    I'm having a problem where my Angular component isn't being generated as a component. Instead of "home.component.ts/html/css" only "home.ts/html/css" is being generated. I'm using version 20. I've tried reinstalling Angular several times or changing the schematic in angular.json, but nothing has helped.

    My Version:

    ng version
    @angular-devkit/architect 0.2000.3 (cli-only)
    @angular-devkit/core 20.0.3 (cli-only)
    @angular-devkit/schematics 20.0.3 (cli-only)
    @schematics/angular 20.0.3 (cli-only)


    Schematic:

    "schematics": {
    "@schematics/angular:component": {
    "style": "scss",
    "inlineStyle": false,
    "inlineTemplate": false,
    "skipTests": false
    }

    Continue reading...

Compartilhe esta Página