README
Plaveoo Custom schema
This is a custom schematics project to generate two components with service and interface.
Testing
What is that?
Usage
- Create a json with the same name as you want for the component in the projects app folder. The name_of_the_component.json should look something like this:
[
{
"name": "id",
"type": "string",
"default": "''",
"required": true
}, {
"name": "name",
"type": "string",
"default": "''",
"required": true
}, {
"name": "year",
"type": "number",
"default": 2018,
"required": false
}
]
- Run the following command to generate the component:
ng generate plaveoo-component:default-component --name=name_of_the_component