4 stories multiple projects
Judy Bogart edited this page 2019-04-01 14:39:35 -07:00

This content applies to v6 and is no longer being maintained. For v7 and later, see current documentation here and here.

Multiple Projects

Angular CLI supports multiple applications within one workspace.

To create another app you can use the following command:

ng generate application my-other-app

The new application will be generated inside projects/my-other-app.

Now we can serve, build etc. both the apps by passing the project name with the commands:

ng serve my-other-app

You can also create libraries, which is detailed in Create a library.