Skip to content

No app.module.ts on src folder #2593

@kingkarki

Description

@kingkarki

There is not app.module.ts file on my project.

I went through the getting started guide here https://github.com/angular/material2/blob/master/guides/getting-started.md

i did ng new my-project
npm install --save @angular/material

and doc says

Import the Angular Material NgModule

src/app/app.module.ts

import { MaterialModule } from '@angular/material';
// other imports 
@NgModule({
  imports: [MaterialModule.forRoot()],
  ...
})
export class PizzaPartyAppModule { }

when i check src/app/ folder there is no app.module.ts file.
Is doc out dated or i did some mistake?

My node version is v6.9.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions