budibase/packages/builder/src/App.svelte

25 lines
548 B
Svelte
Raw Normal View History

2019-07-13 11:35:57 +02:00
<script>
2020-02-03 10:50:30 +01:00
import { onMount } from "svelte"
2021-03-17 12:40:24 +01:00
import { Router } from "@roxi/routify"
import { routes } from "../.routify/routes"
2020-10-02 09:35:54 +02:00
import { initialise } from "builderStore"
import { NotificationDisplay } from "@budibase/bbui"
2021-05-12 12:49:14 +02:00
import { parse, stringify } from "qs"
2020-06-25 21:04:58 +02:00
onMount(async () => {
2020-07-14 11:19:21 +02:00
await initialise()
2020-06-25 21:04:58 +02:00
})
2021-05-12 12:49:14 +02:00
const queryHandler = { parse, stringify }
2019-07-13 11:35:57 +02:00
</script>
<NotificationDisplay />
2021-05-12 12:49:14 +02:00
<Router {routes} config={{ queryHandler }} />
2021-04-08 18:10:18 +02:00
<div class="modal-container" />
<style>
.modal-container {
position: absolute;
}
</style>