Skip to content

Instantly share code, notes, and snippets.

@xiongemi
Created April 9, 2023 01:43
Show Gist options
  • Save xiongemi/5bdd7887afd11da7b045819e1dfe55a6 to your computer and use it in GitHub Desktop.
Save xiongemi/5bdd7887afd11da7b045819e1dfe55a6 to your computer and use it in GitHub Desktop.
react starter app
// src/generators/preset/files/public/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>
<!--
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment