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