Skip to content

Latest commit

 

History

History
 
 

schematics

Ng-Matero

npm GitHub Release Date prettier GitHub license Gitter docs Material Extensions Financial Contributors on Open Collective

Ng-Matero is an Angular admin templete made with Material components.

Installation

You can use the Anglar CLI Schematics to install the project.

$ ng new <project-name>
$ cd <project-name>
$ ng add ng-matero

Schematics

You can use the ng-matero schematics to generate a module or a page.

Module schematic

Generate a lazy loaded module.

$ ng g ng-matero:module <module-name>

The new module will be created in routes folder, it will be added in routes.module and its route declaration will be added in routes-routing.module automaticly.

Page schematic

Generate a page component in the module.

$ ng g ng-matero:page <page-name> -m=<module-name>

Generate a entry component in the page component.

$ ng g ng-matero:page <page-name>/<entry-component-name> -m=<module-name> -e=true

Example

Just two steps after initializing the project, you can get a route page.

$ ng g ng-matero:module abc
$ ng g ng-matero:page def -m=abc

Take a look at https://localhost:4200/#/abc/def, enjoy it!

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

License

MIT