2023-02-15 18:27:51 +00:00
|
|
|
import './styles/loading.css';
|
2023-02-14 16:51:00 +00:00
|
|
|
import './styles/reset.css';
|
|
|
|
import './styles/style.css';
|
|
|
|
|
2023-02-15 18:27:51 +00:00
|
|
|
import { LogError } from '$wails/runtime';
|
2023-01-10 16:28:27 +00:00
|
|
|
import App from './app.svelte';
|
2023-02-11 20:57:52 +00:00
|
|
|
|
|
|
|
window.addEventListener('unhandledrejection', event => {
|
|
|
|
LogError('Unhandled Rejection in JS! Reason:');
|
|
|
|
LogError(String(event.reason));
|
|
|
|
});
|
2023-01-10 16:28:27 +00:00
|
|
|
|
2023-02-15 18:27:51 +00:00
|
|
|
// @ts-ignore Argument IS correct.
|
2023-01-10 16:28:27 +00:00
|
|
|
const app = new App({ target: document.getElementById('app') });
|
|
|
|
|
|
|
|
export default app;
|