@ -0,0 +1,26 @@ |
|||
<!DOCTYPE html> |
|||
<html lang="en"> |
|||
|
|||
<head> |
|||
<meta charset="utf-8"> |
|||
<title>React App</title> |
|||
</head> |
|||
|
|||
<body> |
|||
<noscript> |
|||
You need to enable JavaScript to run this app. |
|||
</noscript> |
|||
<div id="root"></div> |
|||
<!-- |
|||
This HTML file is a template. |
|||
If you open it directly in the browser, you will see an empty page. |
|||
|
|||
You can add webfonts, meta tags, or analytics to this file. |
|||
The build step will place the bundled scripts into the <body> tag. |
|||
|
|||
To begin the development, run `npm start` or `yarn start`. |
|||
To create a production bundle, use `npm run build` or `yarn build`. |
|||
--> |
|||
</body> |
|||
|
|||
</html> |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 4.2 KiB |
@ -0,0 +1,36 @@ |
|||
<!DOCTYPE html> |
|||
<html> |
|||
<head> |
|||
<meta charset="UTF-8" /> |
|||
<title>Hello World</title> |
|||
<script src="https://unpkg.com/react@17/umd/react.development.js"></script> |
|||
<script src="https://unpkg.com/react-dom@17/umd/react-dom.development.js"></script> |
|||
|
|||
<!-- Don't use this in production—do this: https://reactjs.org/docs/add-react-to-a-website#add-jsx-to-a-project --> |
|||
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> |
|||
</head> |
|||
<body> |
|||
<div id="root"></div> |
|||
<script type="text/babel"> |
|||
|
|||
ReactDOM.render( |
|||
<h1>Hello, world!</h1>, |
|||
document.getElementById('root') |
|||
); |
|||
|
|||
</script> |
|||
<!-- |
|||
Note: this page is a great way to try React but it's not suitable for production. |
|||
It slowly compiles JSX with Babel in the browser and uses a large development build of React. |
|||
|
|||
Read this section for a production-ready setup with JSX: |
|||
https://reactjs.org/docs/docs/add-react-to-a-website#try-react-with-jsx |
|||
|
|||
In a larger project, you can use an integrated toolchain that includes JSX instead: |
|||
https://reactjs.org/docs/start-a-new-react-project |
|||
|
|||
You can also use React without JSX, in which case you can remove Babel: |
|||
https://reactjs.org/docs/add-react-to-a-website#add-react-in-one-minute |
|||
--> |
|||
</body> |
|||
</html> |
After Width: | Height: | Size: 360 B |
After Width: | Height: | Size: 366 B |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 146 KiB |
After Width: | Height: | Size: 1.7 MiB |
After Width: | Height: | Size: 907 KiB |
After Width: | Height: | Size: 45 KiB |
After Width: | Height: | Size: 1.7 MiB |
After Width: | Height: | Size: 1.4 MiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 135 KiB |
After Width: | Height: | Size: 136 KiB |
After Width: | Height: | Size: 136 KiB |
After Width: | Height: | Size: 122 KiB |
After Width: | Height: | Size: 399 KiB |
After Width: | Height: | Size: 1.3 MiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 929 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 71 KiB |
After Width: | Height: | Size: 124 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 130 KiB |
After Width: | Height: | Size: 143 KiB |
After Width: | Height: | Size: 790 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 103 KiB |
After Width: | Height: | Size: 1.2 MiB |
After Width: | Height: | Size: 8.0 KiB |
After Width: | Height: | Size: 71 KiB |
After Width: | Height: | Size: 91 KiB |
After Width: | Height: | Size: 314 KiB |
After Width: | Height: | Size: 47 KiB |
After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 393 KiB |
After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 54 KiB |
After Width: | Height: | Size: 658 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 414 KiB |
After Width: | Height: | Size: 225 KiB |
After Width: | Height: | Size: 357 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 768 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 109 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 992 KiB |
After Width: | Height: | Size: 532 KiB |
After Width: | Height: | Size: 54 KiB |
After Width: | Height: | Size: 126 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 61 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 127 KiB |
After Width: | Height: | Size: 83 KiB |
After Width: | Height: | Size: 633 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 70 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 68 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 62 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 677 KiB |
After Width: | Height: | Size: 106 KiB |
After Width: | Height: | Size: 1.7 MiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 55 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 129 KiB |
After Width: | Height: | Size: 98 KiB |