A schematics to build components and pages on angular-cli
npm install cubo-schematics
Generate a component
ng generate cubo-schematics:component componentName
Generate a page
ng generate cubo-schematics:page pageName
--inlineStyle, -s Specifies if the style will be in the ts file
--inlineTemplate, -t Specifies if the template will be in the ts file
--viewEncapsulation, -v <type> Specifies the view encapsulation strategy
--changeDetection, -c <type> Specifies the view encapsulation strategy
--prefix, -p <type> The prefix to apply to generated selectors
--styleext <type> The file extension to be used for style files
--spec <boolean> Specifies if a spec file is generated
--inlineStyle, -s Specifies if the style will be in the ts file
--inlineTemplate, -t Specifies if the template will be in the ts file
--viewEncapsulation, -v <type> Specifies the view encapsulation strategy
--changeDetection, -c <type> Specifies the view encapsulation strategy
--prefix, -p <type> The prefix to apply to generated selectors
--styleext <type> The file extension to be used for style files
--spec <boolean> Specifies if a spec file is generated
--root <boolean> Specifies if a root module is generated
--translate, -i18n <boolean> Flag to indicate if the component have structure of translate.
--children, -cc <boolean> Flag to indicate if the component is a children.
MIT License © Cubo 2018