Skip to content

abiramrnair/pop-js-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/.