React yeni öğreniyorum kod calişmiyor neden? beyaz sayfa geliyor
index.js
import React from 'react';
import ReactDOM from 'react-dom/client';
const root = ReactDOM.createRoot(document.getElementById('root' ));
root.render(
<div>Hello World</div>
);
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<title>React App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>
React Basit bişey sorcagim? bilen konuya dalsın
2
●116
- 11-08-2023, 23:29:32Üyeliği durdurulduBeyaz sayfa acilan url ise http://127.0.0.1:5500/public/index.html any desk versem bakabilir misinizWin adlı üyeden alıntı: mesajı görüntüle