Generating a feature

Generating a feature gives you a lot of files. Let's have a look at what the command looks like:

ng generate feature category

This generates the following files:

  • category.actions.ts
  • category.reducer.ts
  • category.reducer.spec.ts
  • category.effects.ts
  • category.effects.spec.ts

This again is a lot of files you don't have to write by hand.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.245.233