mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-25 21:56:07 +02:00
Completely replace outdated template config rendering
- Deleted respective old files - Renamed new components
This commit is contained in:
12
web/frontend/src/config.entrypoint.js
Normal file
12
web/frontend/src/config.entrypoint.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import {} from './header.entrypoint.js'
|
||||
import Config from './Config.root.svelte'
|
||||
|
||||
new Config({
|
||||
target: document.getElementById('svelte-app'),
|
||||
props: {
|
||||
user: user
|
||||
},
|
||||
context: new Map([
|
||||
['cc-config', clusterCockpitConfig]
|
||||
])
|
||||
})
|
Reference in New Issue
Block a user