generator-catberry
Version:
Yeoman generator for Catberry Framework
21 lines (16 loc) • 369 B
JavaScript
;
/*
* This is a Catberry Cat-component file.
* More details can be found here
* http://catberry.org/documentation#cat-components-interface
*/
class HelloWorld {
/**
* Gets data for the component's template.
* @returns {Promise<Object>} Promise of data.
*/
render() {
return this.$context.getStoreData();
}
}
module.exports = HelloWorld;