angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Add animation support to ng new command

Open dave11mj opened this issue 9 years ago • 2 comments

Bug Report or Feature Request (mark with an x)

  • [ ] bug report -> please search issues before submitting
  • [x] feature request

Versions.

Not relevant

Repro steps.

  1. ng new test-animation
  2. Open the app.component.ts
  3. Add import { trigger, state, style, animate, transition } from '@angular/animations';
  4. 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. ^^

dave11mj avatar Mar 31 '17 17:03 dave11mj

Closing in favor of https://github.com/angular/angular-cli/issues/5928 as it's better aligned with what we decided to do.

filipesilva avatar May 04 '17 13:05 filipesilva

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.