mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-25 13:46:07 +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
17 lines
385 B
JavaScript
17 lines
385 B
JavaScript
import { mount } from 'svelte';
|
|
import {} from './header.entrypoint.js'
|
|
import Analysis from './Analysis.root.svelte'
|
|
|
|
filterPresets.cluster = cluster
|
|
|
|
mount(Analysis, {
|
|
target: document.getElementById('svelte-app'),
|
|
props: {
|
|
filterPresets: filterPresets,
|
|
cluster: cluster
|
|
},
|
|
context: new Map([
|
|
['cc-config', clusterCockpitConfig]
|
|
])
|
|
})
|