mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-08-29 21:32:59 +02:00
Import svelte web frontend
This commit is contained in:
12
web/frontend/src/status.entrypoint.js
Normal file
12
web/frontend/src/status.entrypoint.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import {} from './header.entrypoint.js'
|
||||
import Status from './Status.root.svelte'
|
||||
|
||||
new Status({
|
||||
target: document.getElementById('svelte-app'),
|
||||
props: {
|
||||
cluster: infos.cluster,
|
||||
},
|
||||
context: new Map([
|
||||
['cc-config', clusterCockpitConfig]
|
||||
])
|
||||
})
|
Reference in New Issue
Block a user