-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Add --standalone
option to ng new
#23976
Comments
This comment was marked as resolved.
This comment was marked as resolved.
@alan-agius4 can you vote for this as well? :) |
@Lonli-Lokli, this is already in the backlog. |
If no one else is working on this issue, can I work on it? |
@mounilKshah, thanks for offering to take this up. The new project structure is still in its design phase. |
Any update on where this is on the roadmap? |
When creating an app with this option. Will the CLI generate standalone components/directives in the project by default? (not needing --standalone flag). What about generating functional guards/interceptors/resolvers by default? Like @LMFinney said. Is there any information regarding when / how will this be implemented? . I've been using (and teaching) these last 2 months Angular 15 with standalone components and functional guards/interceptors/resolvers, and I find it simpler and cleaner. Sadly there are many libraries (including Universal) that still don't support apps without AppModule (using bootstrapApplication) and fail when executing ng add (Bootstrap module not found). |
@mounilKshah @alan-agius4 Any updates on this? Seems like a pretty major thing to not include with the CLI now that the standalone api has shipped in v15. This is a pretty major setback for myself and the others at my company when it comes to teaching any curriculum related to Angular with the standalone api since we generate a fresh angular app to workshop on with learned topics/patterns. Unfortunately at this point, I will probably have to end up going with some version of a Nx workspace (or the |
I think the CLI need to have the |
You guys are the best! 🎊 Thx! |
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. |
Command
new
Description
Right now
ng new
do not use standalone application bootstrap, but usual app instead.Nw option should change application to the standalone option, without AppModule
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
The text was updated successfully, but these errors were encountered: