dinamic-generate-kit v1.0.3
DINAMIC GENERATE KIT
Dinamic generate of components, pages or states for angular project.
The Dinamic Generate Kit (dgk) focus in suport the developer in projects angular, maximizing the agility of creating components, states, or even pages.
Github
https://github.com/mathosmor/dinamic-generate-kit
Instalation
package | version |
---|---|
npm | 5 or more |
node | 8 or more |
Download
npm install dinamic-generate-kit -g
Guide
After finish instalation, open the project of you will use the "dgk";
Down below you could see the commands of dgk
Currently "dgk" have 3 types of commands for generate:
Components
the first command for generate components is
dgk generate:component *name-component*
or you can set name with path
dgk generate:component src/app/components/*name-component*
also has the simplified form
dgk g:c src/app/components/*name-component*
Pages
Commands of pages also follows the same pattern
dgk generate:page *name-page*
or you can set name with path
dgk generate:component src/app/page/*name-page*
also has the simplified form
dgk g:p src/app/components/*name-page*
States
Commands of pages also follows the same pattern
dgk generate:page *name-page*
or you can set name with path
dgk generate:component src/app/page/*name-page*
also has the simplified form
dgk g:p src/app/components/*name-page*