choo: add server rendering
This commit is contained in:
@@ -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>
|
||||
`
|
||||
}
|
||||
Reference in New Issue
Block a user