Created
May 5, 2017 20:37
-
-
Save jongacnik/a8507a237a91c0372789650e6a8d35ec to your computer and use it in GitHub Desktop.
choo-so-basic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var html = require('choo/html') | |
var choo = require('choo') | |
var app = choo() | |
app.route(mainView) | |
app.mount('body') | |
function mainView () { | |
return html`<body>hello world</body>` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment