mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-10-22 21:45:05 +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
16 lines
383 B
JavaScript
16 lines
383 B
JavaScript
import { mount } from 'svelte';
|
|
import {} from './header.entrypoint.js'
|
|
import User from './User.root.svelte'
|
|
|
|
mount(User, {
|
|
target: document.getElementById('svelte-app'),
|
|
props: {
|
|
filterPresets: filterPresets,
|
|
user: userInfos
|
|
},
|
|
context: new Map([
|
|
['cc-config', clusterCockpitConfig],
|
|
['resampling', resampleConfig]
|
|
])
|
|
})
|