Import svelte web frontend

This commit is contained in:
Jan Eitzinger
2022-06-22 11:20:57 +02:00
parent 9217780760
commit 68d1f5fc3f
60 changed files with 6661 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
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]
])
})