Skip to content

Commit

Permalink
add react base
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurKoba committed Dec 21, 2024
1 parent 3155228 commit 8f221b3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
6 changes: 6 additions & 0 deletions App.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function App() {
return <div>
<h1>Hello World</h1>
<p>I'm hosted with GitHub Pages.</p>
</div>;
}
22 changes: 16 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
<!DOCTYPE html>
<html>
<body>
<h1>Hello World</h1>
<p>I'm hosted with GitHub Pages.</p>
</body>
</html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Koba Production</title>
<script type="application/javascript" src="https://unpkg.com/[email protected]/umd/react.production.min.js"></script>
<script type="application/javascript" src="https://unpkg.com/[email protected]/umd/react-dom.production.min.js"></script>
<script type="application/javascript" src="https://unpkg.com/@babel/[email protected]/babel.min.js"></script>
</head>
<body>
<div id="root"></div>
<script type="text/babel" src="App.jsx"></script>
<script type="text/babel">
ReactDOM.render(<App/>, document.getElementById('root'));
</script>
</body>
</html>

0 comments on commit 8f221b3

Please sign in to comment.