cc-backend/web/frontend/src/job.entrypoint.js
Christoph Kluge 5681062f01 Initial migration to Svelte5 via full syntax compatability
- 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
2025-02-03 17:31:01 +01:00

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]
])
})