mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-27 05:49:04 +01:00
11 lines
224 B
JavaScript
11 lines
224 B
JavaScript
|
import Header from './Header.svelte'
|
||
|
|
||
|
const headerDomTarget = document.getElementById('svelte-header')
|
||
|
|
||
|
if (headerDomTarget != null) {
|
||
|
new Header({
|
||
|
target: headerDomTarget,
|
||
|
props: { ...header },
|
||
|
})
|
||
|
}
|