2.0.0 • Published 5 years ago

cubo-schematics v2.0.0

Weekly downloads
4
License
MIT
Repository
-
Last release
5 years ago

cubo-schematics

A schematics to build components and pages on angular-cli

license GitHub contributors

Install

npm install cubo-schematics

Usage

Generate a component

ng generate cubo-schematics:component componentName

Generate a page

ng generate cubo-schematics:page pageName

API

Component

--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

Page

--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.

License

MIT License © Cubo 2018

2.0.0

5 years ago

1.2.9

6 years ago

1.2.8

6 years ago

1.2.7

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago