Skip to content

materiahq/materia-schematics-addons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started @materia/schematics-addons

This package is used to generate a Materia Addon automatically using Angular schematics.

To use it you will need to:

  • install @angular-devkit/schematics-cli globally and use the schematics command line tool,
  • install @materia/schematics-addons globally.

Run following command with npm:

npm install -g @angular-devkit/schematics-cli @materia/schematics-addons

or using yarn:

yarn global add @angular-devkit/schematics-cli @materia/schematics-addons

Generate a new addon

Run this comand in the folder where you want to generate your new addon folder:

schematics @materia/schematics-addons:new --name=ADDON_NAME --packageName=PACKAGE_NAME --prefix=COMPONENT_PREFIX 

All params are optional:

  • name: Name of your addon (default: 'addon-boilerplate'),
  • prefix: Prefix used in angular for the client side part (default: 'materia'),
  • packageName: Name used in package.json if different from name.

About

Schematics to manage Materia Addons

Resources

License

Stars

Watchers

Forks

Packages

No packages published