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

16 lines
404 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 JS rejection: ' + event.reason);
});
// @ts-ignore Argument IS correct.
const app = new App({ target: document.getElementById('app') });
export default app;