sfcode
An Online Competing and Development Environment
|
Creates and initializes a new Angular app 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.
src/
subfolder. Corresponding end-to-end tests are placed in the e2e/
subfolder.projects
section of the angular.json
workspace configuration file, under its project name.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.