mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
16 lines
355 B
JavaScript
16 lines
355 B
JavaScript
import {} from './header.entrypoint.js'
|
|
import Node from './Node.root.svelte'
|
|
|
|
new Node({
|
|
target: document.getElementById('svelte-app'),
|
|
props: {
|
|
cluster: infos.cluster,
|
|
hostname: infos.hostname,
|
|
from: infos.from,
|
|
to: infos.to
|
|
},
|
|
context: new Map([
|
|
['cc-config', clusterCockpitConfig]
|
|
])
|
|
})
|