1
0
Fork 0
mirror of synced 2024-07-04 05:50:57 +12:00

Modify component preview to match new component library loader API.

This commit is contained in:
pngwn 2020-01-24 15:20:20 +00:00
parent 86c42a44ab
commit 1a4aa7ddf1

View file

@ -52,7 +52,8 @@ store.subscribe(s => {
window["##BUDIBASE_APPDEFINITION##"] = ${JSON.stringify(appDefinition)};
import('/_builder/budibase-client.esm.mjs')
.then(module => {
module.loadBudibase();
console.log(module, window);
module.loadBudibase({ window, localStorage });
})
</script>
<style>