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
1 changed files with 2 additions and 1 deletions

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>