Modify component preview to match new component library loader API.
This commit is contained in:
parent
044edb1aca
commit
7c1ae9f750
|
@ -52,7 +52,8 @@ store.subscribe(s => {
|
||||||
window["##BUDIBASE_APPDEFINITION##"] = ${JSON.stringify(appDefinition)};
|
window["##BUDIBASE_APPDEFINITION##"] = ${JSON.stringify(appDefinition)};
|
||||||
import('/_builder/budibase-client.esm.mjs')
|
import('/_builder/budibase-client.esm.mjs')
|
||||||
.then(module => {
|
.then(module => {
|
||||||
module.loadBudibase();
|
console.log(module, window);
|
||||||
|
module.loadBudibase({ window, localStorage });
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
|
|
Loading…
Reference in New Issue