@ow-framework/hello-world
A simple hello world module for @ow-framework
Install
yarn add @ow-framework/hello-world
Usage
import Ow from '@ow-framework/core';
import OwHelloWorld from '@ow-framework/hello-world';
const app = new Ow();
app.addModules([
OwHelloWorld
]);
app.start();
Usage with options
import Ow from '@ow-framework/core';
import OwHelloWorld from '@ow-framework/hello-world';
const app = new Ow();
const MyHelloWorld = new OwHelloWorld(app, {
theString: 'Some teststring',
logger: s => console.log(s)
})
app.addModules([
MyHelloWorld
]);
app.start();