InterviewSolution
Saved Bookmarks
| 1. |
Write an ionic cli command to create a module file without its folder |
|
Answer» The COMMAND ionic g module CREATES a folder of same NAME as module and creates the module within the new folder. To skip creating new folder , use --flat option which will create the module DIRECTLY in src/app folder. Below command will create test.module.ts file in src/app/ . ionic g module test --flat. |
|