Skip to content

bogdanconstantinescu/ngx-architect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ngx-architect

This package is a simple and helpful tool for scaffolding modules, containers, and components. Most of the util functions are based on the @ngrx/schematics package.

Install

Add it to your development dependencies:

  • npm: npm install --save-dev ngx-architect
  • yarn: yarn install --save-dev ngx-architect

Scaffolding code


Module

  • Interactive: ng g ngx-architect:module
  • Non-interactive: ng g ngx-architect:module --name ModuleName

Container

  • Interactive: ng g ngx-architect:container
  • Non-interactive: ng g ngx-architect:container --name MyContainer --module MyModule

Component

  • Interactive: ng g ngx-architect:component
  • Non-interactive: ng g ngx-architect:component --name MyComponent --module MyModule