Skip to content

tzellman/hyperapp-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub issues dependencies

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.

Getting started

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/.

Building a release

npm run build

This will generate a release directory with your minified/rev'd assets.

Using serve

npm run serve

This will use serve to statically serve your app from the release directory.

Credits

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.

Author

Tom Zellman (@tzellman)

About

This is a sample/boilerplate project that shows how to create a production-ready hyperapp application.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published