cc-backend/web/frontend/src/node.entrypoint.js
2022-06-22 11:20:57 +02:00

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