added base element

This commit is contained in:
David Meincke
2022-03-21 12:07:28 +01:00
parent f7fa60ea15
commit b2e183e93f
7 changed files with 78 additions and 4 deletions
+4 -1
View File
@@ -1,7 +1,10 @@
import './app.less';
import bootHtml from './app.html';
import { AppRoot } from './elements/app-root/app-root';
var appEle = document.createElement("app-root");
window.customElements.define('app-root', AppRoot);
var appEle = document.createElement("div");
appEle.innerHTML = bootHtml;
document.body.appendChild(appEle);