1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-01 23:05:11 +00:00
Files
rolens/frontend/src/main.js

16 lines
410 B
JavaScript
Raw Normal View History

2023-02-14 17:51:00 +01:00
import './styles/reset.css';
import './styles/style.css';
import './styles/loading.css';
2023-01-10 17:28:27 +01:00
import App from './app.svelte';
2023-02-11 21:57:52 +01:00
import { LogError } from '../wailsjs/runtime/runtime';
window.addEventListener('unhandledrejection', event => {
LogError('Unhandled Rejection in JS! Reason:');
LogError(String(event.reason));
});
2023-01-10 17:28:27 +01:00
const app = new App({ target: document.getElementById('app') });
export default app;