11 lines
222 B
TypeScript
11 lines
222 B
TypeScript
import { mount } from 'svelte';
|
|
import App from './App.svelte';
|
|
import './app.css';
|
|
|
|
const target = document.getElementById('app');
|
|
if (!target) {
|
|
throw new Error('Missing #app mount target');
|
|
}
|
|
|
|
mount(App, { target });
|