// ► import library
import * as devinux from 'clientcomponent.js';
// ► render base element
const body = document.getElementByTagName('body');
let app = new devinux.DevinuxClientComponent('x');
app.renderload(body);
// ► import library
import * as devinux from 'clientcomponent.js';
// ► render base element
const body = document.getElementByTagName('body');
class myApp extends devinux.DevinuxClientComponent {
constructor() { super('myappid'); }
render() { return '<h1>my app</h1>'; }
}
new myApp().renderload(body);