13 lines
247 B
TypeScript
13 lines
247 B
TypeScript
import { mount } from "svelte";
|
|
|
|
import App from "./App.svelte";
|
|
import "./app.css";
|
|
|
|
const target = document.getElementById("app");
|
|
|
|
if (!target) {
|
|
throw new Error("App target element was not found.");
|
|
}
|
|
|
|
export default mount(App, { target });
|