2023-02-15 19:27:51 +01:00
|
|
|
import './styles/loading.css';
|
2023-02-14 17:51:00 +01:00
|
|
|
import './styles/reset.css';
|
|
|
|
import './styles/style.css';
|
|
|
|
|
2023-02-15 19:27:51 +01:00
|
|
|
import { LogError } from '$wails/runtime';
|
2023-01-10 17:28:27 +01:00
|
|
|
import App from './app.svelte';
|
2023-02-11 21:57:52 +01:00
|
|
|
|
|
|
|
window.addEventListener('unhandledrejection', event => {
|
2023-05-29 17:07:58 +02:00
|
|
|
LogError('Unhandled JS rejection: ' + event.reason);
|
2023-02-11 21:57:52 +01:00
|
|
|
});
|
2023-01-10 17:28:27 +01:00
|
|
|
|
2023-02-15 19:27:51 +01:00
|
|
|
// @ts-ignore Argument IS correct.
|
2023-01-10 17:28:27 +01:00
|
|
|
const app = new App({ target: document.getElementById('app') });
|
|
|
|
|
|
|
|
export default app;
|