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
460 B
JavaScript
19 lines
460 B
JavaScript
import { mount } from 'svelte';
|
|
import {} from './header.entrypoint.js'
|
|
import Job from './Job.root.svelte'
|
|
|
|
mount(Job, {
|
|
target: document.getElementById('svelte-app'),
|
|
props: {
|
|
dbid: jobInfos.id,
|
|
username: username,
|
|
authlevel: authlevel,
|
|
roles: roles
|
|
},
|
|
context: new Map([
|
|
['cc-config', clusterCockpitConfig],
|
|
['resampling', resampleConfig],
|
|
['emission', emission]
|
|
])
|
|
})
|