/hyperapp-one

simple hyperapp webpack boilerplate counter app with airbnb eslint and jsx

Primary LanguageJavaScriptMIT LicenseMIT

Build Status

HyperApp JSX Boilerplate Repo

To get started:

npm install
npm start

Visit: webpack-dev-server

This will reload as you save new code 😄

Now go code something awesome!


To wipe commit history:

Make sure you are in the boilerplate root:

rm -rf .git
git init
git add .
git commit -m "initial commit"

Then work as normal and don't forget to add the new remote before pushing up!


Deploy to GitHub Pages:

First Time:

git checkout -b gh-pages
npm run build
git add . && git commit -m "built"
git push origin gh-pages

Every time after that:

git checkout gh-pages
git merge master
npm run build
git add . && git commit -m "built"
git push origin gh-pages

Now go visit:

(No custom domain) -> <your_username>.github.io/<your_repo_name>

(Custom domain) -> <custom_domain>/<your_repo_name>


Example GIF:

basic gif of app