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

16 lines
410 B
JavaScript
Raw Normal View History

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