mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-13 02:17: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]
|
||
|
])
|
||
|
})
|