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

View File

@ -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>