10 lines
273 B
TypeScript
10 lines
273 B
TypeScript
import './app.less';
|
|
import bootHtml from './app.html';
|
|
import { AppRoot } from './elements/app-root/app-root';
|
|
|
|
window.customElements.define('app-root', AppRoot);
|
|
|
|
var appEle = document.createElement("div");
|
|
appEle.innerHTML = bootHtml;
|
|
|
|
document.body.appendChild(appEle); |