-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(@angular/cli): use application instead of app
- Loading branch information
1 parent
a379624
commit e70562f
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
Creates and initializes a new Angular app that is the default project for a new workspace. | ||
Creates and initializes a new Angular application that is the default project for a new workspace. | ||
|
||
Provides interactive prompts for optional configuration, such as adding routing support. | ||
All prompts can safely be allowed to default. | ||
|
||
* The new workspace folder is given the specified project name, and contains configuration files at the top level. | ||
|
||
* By default, the files for a new initial app (with the same name as the workspace) are placed in the `src/` subfolder. Corresponding end-to-end tests are placed in the `e2e/` subfolder. | ||
* By default, the files for a new initial application (with the same name as the workspace) are placed in the `src/` subfolder. Corresponding end-to-end tests are placed in the `e2e/` subfolder. | ||
|
||
* The new app's configuration appears in the `projects` section of the `angular.json` workspace configuration file, under its project name. | ||
* The new application's configuration appears in the `projects` section of the `angular.json` workspace configuration file, under its project name. | ||
|
||
* Subsequent apps that you generate in the workspace reside in the `projects/` subfolder. | ||
* Subsequent applications that you generate in the workspace reside in the `projects/` subfolder. | ||
|
||
If you plan to have multiple apps in the workspace, you can create an empty workspace by setting the `--createApplication` option to false. | ||
You can then use `ng generate application` to create an initial app. | ||
This allows a workspace name different from the initial app name, and ensures that all apps reside in the `/projects` subfolder, matching the structure of the configuration file. | ||
If you plan to have multiple applications in the workspace, you can create an empty workspace by setting the `--createApplication` option to false. | ||
You can then use `ng generate application` to create an initial application. | ||
This allows a workspace name different from the initial app name, and ensures that all applications reside in the `/projects` subfolder, matching the structure of the configuration file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters