1
0
Fork 0
mirror of synced 2024-08-22 13:31:37 +12:00
budibase/packages/client/src/index.js

13 lines
311 B
JavaScript
Raw Normal View History

import ClientApp from "./components/ClientApp.svelte"
2019-09-07 17:50:35 +12:00
// Initialise client app
const loadBudibase = () => {
window.document.body.innerHTML = ""
new ClientApp({
target: window.document.body,
2020-05-30 01:06:10 +12:00
})
}
// Attach to window so the HTML template can call this when it loads
window.loadBudibase = loadBudibase