Browse Source

feat: add dom ready

master
alan 6 years ago
parent
commit
c42811c886
  1. 4
      src/index.ts

4
src/index.ts

@ -1,7 +1,7 @@
import App from './app/app.component';
BI.DOM.ready(() => {
const app = require('./app/app.component').default;
BI.createWidget({
type:App,
type:app,
element: 'body',
});
});

Loading…
Cancel
Save