mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-05-18 22:57:14 +02:00
- 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
19 lines
481 B
JavaScript
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]
|
|
])
|
|
})
|