No app.module.ts on src folder
See original GitHub issueThere 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
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Where is app.module.ts file? · Issue #3949 - GitHub
There is no app.module.ts file on my src folder in project. Is app.module.ts depreciated or i m angular cli wrong version or something...
Read more >Missing app.module.ts and src/app folders - Ionic Forum
Hi, I have an ionic project using ionic 2.2.3. I am following the guide at this link below to upgrade to ionic 3....
Read more >File 'app/hero.ts' is not a module error in the console, where to ...
Try Restarting the editor in which you are writing the code(VS code or Sublime). Compile and Run it again. I have done the...
Read more >AppModule: the root module - ts - GUIDE - Angular
Tell Angular how to construct and bootstrap the app in the root "AppModule". An Angular module class describes how the application parts fit...
Read more >Understanding important folders and files - IBM
Do not modify this folder. Instead, copy this folder into src-custom and then modify as needed. app/features/*.module.ts: The page application routing ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yes actually it was not the real issue. It was my confusion. app.module.ts was my projectname.module.ts. Thanks @DevVersion
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.