You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.0.2.
3
+
One of the major feature released with v14 of Angular is to build a standalone component without the need to import in the NgModules. Existing applications can also be incrementally be adopted but make a note that this is still in developer preview mode which means that it might change before it is released as a stable version.
4
4
5
-
## Development server
5
+
## Standalone option
6
6
7
-
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
8
-
9
-
## Code scaffolding
10
-
11
-
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
12
-
13
-
## Build
14
-
15
-
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
16
-
17
-
## Running unit tests
18
-
19
-
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20
-
21
-
## Running end-to-end tests
22
-
23
-
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
24
-
25
-
## Further help
26
-
27
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
7
+
Run `ng g c homepage —standalone=true` to generate a standalone component through ng cli tool
0 commit comments