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