Skip to content

Instantly share code, notes, and snippets.

@nicowernli
Created July 18, 2024 13:09
Show Gist options
  • Save nicowernli/6c8fc3d0fad4db1c5f455213998aa228 to your computer and use it in GitHub Desktop.
Save nicowernli/6c8fc3d0fad4db1c5f455213998aa228 to your computer and use it in GitHub Desktop.
Summary on adding animations module to angular config
// other imports...
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
export const appConfig: ApplicationConfig = {
providers: [
// all your providers...
provideAnimationsAsync(),
],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment