popjs-cli
v1.0.2
Published
Terminal commands for easily making pop! JS components
Downloads
3
Maintainers
Readme
pop! JS CLI
Lets you create custom pop! components easily.
Install with npm i -g popjs-cli
.
Command Format
sonpop make directory_name/componentName -f
- An optional HTML tag can also be supplied to the second argument, e.g "make-div", "make-button", "make-span" etc.
- If directory is omitted, the component is created in the directory where the terminal is being run.
Supported Arguments
make
is used to create a generic pop! component with a render lifecycle method.-f
generates a pop! component with the set lifecycle method, props and state added.
Guide
Get familiar with the pop! JS framework by checking out the guide available at https://abiramrnair.github.io/pop-js/.