Clone this repo manually or use brunch new dir -s es6
- Install (if you don't have them):
- Run:
npm start
— watches the project with continuous rebuild. This will also launch HTTP server with pushState.npm run build
— builds minified project for production
- Add Components
- Copy all your component functions into hyperapp.js
- run
rollup -c
to generate a new prod bundle.js file. - Add your components to the home page demo.
- copy bundle.js contents into the hyperapp npm project and publish to NPM
Go to releases on the github page, download the latest hyperAppcComponents.js and import components into your project. Don't forget to grab the hyperAppComponents.css as well.