fix no tag logic

This commit is contained in:
Primakov Alexandr Alexandrovich 2023-02-24 16:18:50 +03:00
parent 8213db9cfd
commit a7fd8a4089

View File

@ -22,6 +22,8 @@ let mainMountElement = document.getElementById('app');
if (!mainMountElement) { if (!mainMountElement) {
mainMountElement = document.createElement('div'); mainMountElement = document.createElement('div');
mainMountElement.id = 'app'; mainMountElement.id = 'app';
document.body.append(mainMountElement);
} }
export default async ({ apps: rawApps, navigations, config, features }) => { export default async ({ apps: rawApps, navigations, config, features }) => {