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

main.ts

9 lines218 Bytes

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