mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-27 21:59:05 +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]
|
|
])
|
|
})
|