Files
cc-backend/web/frontend/src/node.entrypoint.js
2025-06-20 17:47:06 +02:00

17 lines
402 B
JavaScript

import { mount } from 'svelte';
import {} from './header.entrypoint.js'
import Node from './Node.root.svelte'
mount(Node, {
target: document.getElementById('svelte-app'),
props: {
cluster: infos.cluster,
hostname: infos.hostname,
presetFrom: infos.from,
presetTo: infos.to
},
context: new Map([
['cc-config', clusterCockpitConfig]
])
})