added a spinner for the pre-bootstrap phase

This commit is contained in:
Eugene Pankov
2021-11-14 16:54:51 +01:00
parent dd5bf0773e
commit e1b0d01ac3
4 changed files with 56 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ async function start () {
})
const config = connector.loadConfig()
tabby.bootstrap({
await tabby.bootstrap({
packageModules: pluginModules,
bootstrapData: {
config,
@@ -69,4 +69,8 @@ async function start () {
connector,
})
}
start()
const spinner = document.body.querySelector('.pre-bootstrap-spinner')
start().finally(() => {
spinner?.remove()
})