This PR includes the possibility of using a script to automate the creation of a component using a template.
For example, running the command yarn dui add component toggle will create a component named Toggle with all the needed files to work and with the proper code style.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] This change requires a documentation update
[ ] Other:
Checklist:
[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my code
[ ] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
Description
This PR includes the possibility of using a script to automate the creation of a component using a template.
For example, running the command
yarn dui add component toggle
will create a component namedToggle
with all the needed files to work and with the proper code style.Fixes # (issue)
Type of change
Please delete options that are not relevant.
Checklist: