Created
January 13, 2023 00:15
-
-
Save standiki/57ef4428a45a3c062320120e9a04569f to your computer and use it in GitHub Desktop.
How to Set Up React the Easy Way- HTML2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<!-- Load React --> | |
<!-- Note: when deploying, replace "development.js" with "production.min.js". --> | |
<script crossorigin src="https://unpkg.com/react@18/umd/react.development.js"></script> | |
<script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"></script> | |
<!-- Load Babel --> | |
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> | |
<!-- Load custom css file --> | |
<link rel="stylesheet" href="./index.css"> | |
<title>Setting Up React Project The Easy Way</title> | |
</head> | |
<body> | |
<!-- This will be used as our components or App DOM container --> | |
<div id="root"></div> | |
<!-- This loads our React component, index.js --> | |
<script src="index.js" type="text/babel"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment