#99 component also load dynamic changes

This commit is contained in:
Agriya Dev5
2021-05-19 19:12:02 +05:30
parent 7b6a7d6594
commit 1ebae7c724
4 changed files with 7 additions and 12 deletions

View File

@@ -68,6 +68,10 @@ class EditorStartup {
const self = this;
const { i18next } = await putLocale(this.configObj.pref('lang'), this.goodLangs);
this.i18next = i18next;
// eslint-disable-next-line no-unsanitized/method
await import(`./components/index.js`);
// eslint-disable-next-line no-unsanitized/method
await import(`./dialogs/index.js`);
// allow to prepare the dom without display
this.$svgEditor.style.visibility = 'hidden';
try {