hpr_cli

1.5.4 • Public • Published

Hybrid page render framework

cli commands

create the file struture "hpr-create"

create the distribution build "hpr-compile"

create a new page folder "hpr-create-page [pagename]"

create a new component folder "hpr-create-component [pagename] [componentname]"

Add a event listener to a html element

data-interaction = [submit] || [input]

data-event-type = event to listen for, 'click, 'oninput'

data-name = function name

Class name

By default a css module-like classname is generated [componentname][classname][uuid]

Append _[noScoped] to leave the className unchanged

TODO

  • fix multiple classnames bug

Readme

Keywords

none

Package Sidebar

Install

npm i hpr_cli

Weekly Downloads

5

Version

1.5.4

License

ISC

Unpacked Size

26.1 kB

Total Files

43

Last publish

Collaborators

  • daniel1987