-
Notifications
You must be signed in to change notification settings - Fork 12k
fix(@angular/cli): adding multiple apps story #5737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
||
To serve the first app: `ng serve --app=0` or `ng serve --app 0` | ||
|
||
To serve the second app: `ng serve --app=1` or `ng serve --app 12` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
12? :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@intellix Fixed
408d7c6
to
8eacff2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to see the apps
objects truncated with ...
(partially or completely) as it will likely change and be out of date. Without the full object the story is still valid and will also be shorter and easier to consume.
8eacff2
to
d6d837b
Compare
@Brocco done the changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this helps the readability of the story, thanks for making the changes!
@Brocco Is there any way to ensure the angular cli generators still work with multiple apps? Im pretty sure you're familiar with the following error
According to a few github issues I read it has to do with multiple app module files being in the src directory, is there any recommended way to have a multiple apps setup without breaking the CLI generators? |
Hi, I'm reading #7418 and there is a comment there that says that in order to use multiple app in same project we need to create a new dir src/new-app and copy every file under the src/app to it. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fixes: #5726