issues
search
web-dave
/
ngrx-workshop
0
stars
1
forks
source link
Add @ngrx to your app
#5
Open
web-dave
opened
5 years ago
web-dave
commented
5 years ago
import it into your RootModule
import it into your Feature Module
Inpect the devtools. Can you find it?
web-dave
commented
5 years ago
Import into RootModule
```ts @NgModule({ ... imports: [ ..., StoreModule.forRoot({}) ] }) export class AppModule {} ```
web-dave
commented
5 years ago
Feature Module
```ts @NgModule({ imports: [ ..., StoreModule.forFeature(booksStoreName, booksReducer) ], ... }) export class BookModule {} ```
web-dave
commented
5 years ago
Next