examples/server -> examples/server-rendering

This commit is contained in:
Yoshua Wuyts
2016-05-23 14:45:24 +09:00
parent dc840059a4
commit ab96d51a89
5 changed files with 4 additions and 3 deletions
+10
View File
@@ -0,0 +1,10 @@
const choo = require('../../../')
module.exports = function (params, state, send) {
const message = state.message
return choo.view`
<section>
<h1>${message}</h1>
</section>
`
}