mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-23 21:01:40 +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
461 B
JavaScript
19 lines
461 B
JavaScript
import { mount } from 'svelte';
|
|
import {} from './header.entrypoint.js'
|
|
import Config from './Config.root.svelte'
|
|
|
|
mount(Config, {
|
|
target: document.getElementById('svelte-app'),
|
|
props: {
|
|
isAdmin: isAdmin,
|
|
isSupport: isSupport,
|
|
isApi: isApi,
|
|
username: username,
|
|
ncontent: ncontent,
|
|
},
|
|
context: new Map([
|
|
['cc-config', clusterCockpitConfig],
|
|
['resampling', resampleConfig]
|
|
])
|
|
})
|