cc-backend/web/frontend/src/systems.entrypoint.js
Christoph Kluge 5681062f01 Initial migration to Svelte5 via full syntax compatability
- updated all dependencies
- removed svelte-chartjs wrapper from dependencies
- sveltestrap causes compilation warnings (once)
- Header.svelte uses new Svelte5 syntax as example
- fixed most initial compilation warnings except circular dependencies with TBD cause
2025-02-03 17:31:01 +01:00

19 lines
481 B
JavaScript

import { mount } from 'svelte';
import {} from './header.entrypoint.js'
import Systems from './Systems.root.svelte'
mount(Systems, {
target: document.getElementById('svelte-app'),
props: {
displayType: displayType,
cluster: infos.cluster,
subCluster: infos.subCluster,
from: infos.from,
to: infos.to
},
context: new Map([
['cc-config', clusterCockpitConfig],
['resampling', resampleConfig]
])
})