1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-19 06:14:04 +00:00

Housekeeping

This commit is contained in:
2023-02-15 19:27:51 +01:00
parent 5f358885a3
commit 838c8d2ffb
38 changed files with 322 additions and 270 deletions

View File

@ -1,15 +1,16 @@
import './styles/loading.css';
import './styles/reset.css';
import './styles/style.css';
import './styles/loading.css';
import { LogError } from '$wails/runtime';
import App from './app.svelte';
import { LogError } from '../wailsjs/runtime/runtime';
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;