Add animation support to ng new command
Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request
Versions.
Not relevant
Repro steps.
ng new test-animation- Open the
app.component.ts - Add
import { trigger, state, style, animate, transition } from '@angular/animations'; ng serve
The log given by the failure.
ERROR in /PATH/test-animation/src/app/app.component.ts (2,60): Cannot find module '@angular/animations'.
Desired functionality.
I would like to be able to create new applications that support @angular/animations without additional configurations.
An option I would propose is a --animation flag to the ng new command which would allow users to opt-in on user @angular/animations.
Mention any other details that might be useful.
Animations is one of the features I really like about angular. ^^
Closing in favor of https://github.com/angular/angular-cli/issues/5928 as it's better aligned with what we decided to do.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.