Adding @ngrx to your Project
In your console, run the following command to add @ngrx to your list of dependencies in package.json
:
npm install @ngrx/core @ngrx/store --save
If you plan on using the @ngrx/effects extensions to add side-effect capabilities, then also run the following command:
npm install @ngrx/effects --save