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