@firstfleet/hyperappcomponents

Hyperapp Components

Usage no npm install needed!

<script type="module">
  import firstfleetHyperappcomponents from 'https://cdn.skypack.dev/@firstfleet/hyperappcomponents';
</script>

README

To publish new version to NPM:

  1. Create user on NPM site if you don't already have one. Then login npm login
  2. Have someone add you to the firstfleet NPM org
  3. Increment version in package.json
  4. Publish it! npm publish --access public

How to use in hyperapp project:

  1. Install to your project npm install -s @firstfleet/hyperappcomponents
  2. Import into js components import { Button } from @firstfleet/hyperappcomponents
  3. Use
  4. 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>`