mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-26 22:26:08 +02:00
Import svelte web frontend
This commit is contained in:
13
web/frontend/src/list.entrypoint.js
Normal file
13
web/frontend/src/list.entrypoint.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import {} from './header.entrypoint.js'
|
||||
import List from './List.root.svelte'
|
||||
|
||||
new List({
|
||||
target: document.getElementById('svelte-app'),
|
||||
props: {
|
||||
filterPresets: filterPresets,
|
||||
type: listType,
|
||||
},
|
||||
context: new Map([
|
||||
['cc-config', clusterCockpitConfig]
|
||||
])
|
||||
})
|
Reference in New Issue
Block a user