Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

main.ts

10 lines237 Bytes

1import { mount } from 'svelte'
2import './app.css'
3import App from './App.svelte'
4​
5const target = document.querySelector('#app')
6if (!target) throw new Error('Missing #app element')
7​
8const app = mount(App, { target })
9​
10export default app