HyperApp Boilerplate
The purpose of this example was to create a starting-point for a HyperApp project.
I decided to use Taskr along with Rollup, since the combination of the two seems to create a pleasant development/build experience.
I suppose this example can also be used as a starting point for a Taskr/Rollup app.
npm install
npm start
Your browser should have automatically launched http://localhost:4000!
Any changes you make to your code will also automatically be reflected in the browser.
You can also view the example app here: https://tzellman.github.io/hyperapp-boilerplate/.
npm run build
This will generate a release
directory with your minified/rev'd assets.
npm run serve
This will use serve to statically serve your app from the release
directory.
The basis of the counter code was mostly copied from @selfup's hyperapp-one example.
I also thank @lukeed and @jbucaran for all of the taskr
examples, and the library itself.
Tom Zellman (@tzellman)