cc-backend/web/frontend/src/header.entrypoint.js

11 lines
224 B
JavaScript
Raw Normal View History

2022-06-22 11:20:57 +02:00
import Header from './Header.svelte'
const headerDomTarget = document.getElementById('svelte-header')
if (headerDomTarget != null) {
new Header({
target: headerDomTarget,
props: { ...header },
})
}