Skip to content

Commit

Permalink
Add the browser animations module
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Lewis committed Mar 24, 2017
1 parent d2fe0d7 commit 9fe0e31
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -7,6 +7,7 @@
},
"license": "MIT",
"dependencies": {
"@angular/animations": "^4.0.0",
"@angular/common": "^4.0.0",
"@angular/compiler": "^4.0.0",
"@angular/core": "^4.0.0",
Expand Down
2 changes: 2 additions & 0 deletions src/app/app.module.ts
Expand Up @@ -7,6 +7,7 @@ import { NgModule, enableProdMode } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { RouterModule } from '@angular/router';
import { IdlePreload, IdlePreloadModule } from '@angularclass/idle-preload';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AppComponent, LoadingSpinnerComponent } from './app.component';

declare const ENV: string;
Expand All @@ -23,6 +24,7 @@ if (ENV === 'production') {
],
imports: [
BrowserModule,
BrowserAnimationsModule,
IdlePreloadModule.forRoot(),
RouterModule.forRoot([
{path: 'subscribed', loadChildren: './modules/+subscribed/index#SubscribedModule'},
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Expand Up @@ -2,6 +2,10 @@
# yarn lockfile v1


"@angular/animations@^4.0.0":
version "4.0.0"
resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-4.0.0.tgz#f6efb67ca3f3816d2dbf19b8f570371f2d205edc"

"@angular/common@^4.0.0":
version "4.0.0"
resolved "https://registry.yarnpkg.com/@angular/common/-/common-4.0.0.tgz#ca18983222fdab4ecaa7a8b99eda6ff661e6dc92"
Expand Down

0 comments on commit 9fe0e31

Please sign in to comment.