cc-backend/web/frontend/src/header.entrypoint.js
2022-06-22 11:20:57 +02:00

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 },
})
}