1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-01-18 21:17:59 +00:00
rolens/frontend/src/main.js
2023-02-15 19:27:51 +01:00

17 lines
433 B
JavaScript

import './styles/loading.css';
import './styles/reset.css';
import './styles/style.css';
import { LogError } from '$wails/runtime';
import App from './app.svelte';
window.addEventListener('unhandledrejection', event => {
LogError('Unhandled Rejection in JS! Reason:');
LogError(String(event.reason));
});
// @ts-ignore Argument IS correct.
const app = new App({ target: document.getElementById('app') });
export default app;