1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-01-31 18:29:28 +00:00
rolens/frontend/src/main.js

17 lines
433 B
JavaScript
Raw Normal View History

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 => {
LogError('Unhandled Rejection in JS! Reason:');
LogError(String(event.reason));
});
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;