added base element
This commit is contained in:
+4
-1
@@ -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);
|
||||
Reference in New Issue
Block a user