feat: инициализация проекта с React 19 и TypeScript 5

- Создан package.json со всеми зависимостями
- Добавлены npm скрипты для разработки и сборки
- Создана базовая структура: src/, public/
- Настроен .gitignore (игнорирование папок с точкой)
- Добавлен базовый React компонент с TypeScript
This commit is contained in:
Ilia Mashkov
2025-11-19 10:17:50 +03:00
parent 1946ec7c41
commit 1318800f75
6 changed files with 8726 additions and 0 deletions

12
src/index.tsx Normal file
View File

@@ -0,0 +1,12 @@
import { createRoot } from 'react-dom/client'
import App from './App'
const container = document.getElementById('root')
if (!container) {
throw new Error('Root element not found')
}
const root = createRoot(container)
root.render(<App />)