initial commit

This commit is contained in:
Gregory Bednov 2025-01-13 15:00:11 +03:00
commit 3751b8ddb0
23 changed files with 2048 additions and 0 deletions

14
src/main.ts Normal file
View file

@ -0,0 +1,14 @@
import { mount } from 'svelte'
import App from './App.svelte';
const target = document.getElementById('app');
if (!target) {
throw new Error("Target element with ID 'app' not found in DOM.");
}
// Создаём экземпляр приложения
const app = mount(App, {
target: document.getElementById('app')!,
})
export default app;