Развернули проект с помощью Vite, подготовили структуру для разработки

This commit is contained in:
isHardCoded
2025-06-08 10:23:50 +03:00
commit ec325b51bc
10 changed files with 2938 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
// удаляем все, оставляя лишь пустую функцию App ниже
function App() {
return (
<>
{/* Добавьте тестовый контент для проверки */}
<h1>Hello, React!</h1>
</>
)
}
export default App
+10
View File
@@ -0,0 +1,10 @@
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
// удаляем import './index.css'
import App from './App.jsx'
createRoot(document.getElementById('root')).render(
<StrictMode>
<App />
</StrictMode>
)