diff --git a/src/dbp-signature.js b/src/dbp-signature.js index 3549fd35129207ab3ed83389bfec4d412348e658..0c4d43780f173f87ad2cb55bc2c87083661970e5 100644 --- a/src/dbp-signature.js +++ b/src/dbp-signature.js @@ -2,5 +2,6 @@ import {AppShell} from '@dbp-toolkit/app-shell'; import * as commonUtils from '@dbp-toolkit/common/utils'; import {Provider} from '@dbp-toolkit/provider'; +// It's important that the Provider is created before the AppShell, so the AppShell can subscribe to the Provider +commonUtils.defineCustomElement('dbp-provider', Provider); commonUtils.defineCustomElement('dbp-signature', AppShell); -commonUtils.defineCustomElement('dbp-provider', Provider); \ No newline at end of file