@firstfleet/hyperappcomponents

Hyperapp Components

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@firstfleet/hyperappcomponents
1.0.254 years ago5 years agoMinified + gzip package size for @firstfleet/hyperappcomponents in KB

Readme

To publish new version to NPM:
  1. Create user on NPM site if you don't already have one. Then login npm login
  1. Have someone add you to the firstfleet NPM org
  1. Increment version in package.json
  1. Publish it! npm publish --access public
How to use in hyperapp project:
  1. Install to your project npm install -s @firstfleet/hyperappcomponents
  1. Import into js components import { Button } from @firstfleet/hyperappcomponents
  1. Use in your jsx
  1. For CSS add this to your brunch.config file (if using brunch)
```exports.npm = { enabled: true, styles: {
'@firstfleet': ['hyperappcomponents/hyperappComponents.css']
} };``` TO SEE THE LIVING DOCS:
  1. importh the docs import { Docs } from @firstfleet/hyperappcomponents
  1. render the docs onto the page <Docs></Docs>