Installing NgRx
Let's explore how we can add NgRx into our Angular application.
We'll cover the following...
Ways of installing NgRx
There are two ways we can install NgRx:
- Using NPM
- Using Angular CLI
Using NPM
First, we could use NPM and run the following command in our Angular application:
npm install @ngrx/store --save
📝 Note: Click the terminal window and see what happens! ...