forked from MapComplete/MapComplete
Refactoring: use proper way to initialize the main svelte components
This commit is contained in:
parent
4dc48274dc
commit
5354cbf6c3
15 changed files with 43 additions and 30 deletions
|
@ -1,4 +1,5 @@
|
|||
import SvelteUIElement from "./UI/Base/SvelteUIElement"
|
||||
import StylesheetTestGui from "./UI/StylesheetTestGui.svelte"
|
||||
|
||||
new SvelteUIElement(StylesheetTestGui, {}).AttachTo("main")
|
||||
new StylesheetTestGui({
|
||||
target: document.getElementById("maindiv")
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue