mirror of
https://github.com/marko-js/marko.git
synced 2026-01-25 15:03:04 +00:00
9 lines
213 B
JavaScript
9 lines
213 B
JavaScript
var helloComponent = require('./components/hello');
|
|
|
|
module.exports = {
|
|
onMount: function () {
|
|
this.renderedHtml = helloComponent.renderToString({
|
|
name: this.input.name
|
|
});
|
|
}
|
|
}; |