1
Fork 0
react-template/index.html

27 lines
655 B
HTML
Raw Permalink Normal View History

2024-05-01 06:08:21 +00:00
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div id="root"></div>
<script type="module">
import React from "react";
import { createRoot } from "react-dom/client";
2024-05-01 06:08:21 +00:00
import App from "./src/client/app.jsx";
2024-05-01 06:08:21 +00:00
createRoot(document.getElementById("root")).render(
React.createElement(
React.StrictMode,
null,
React.createElement(App, null),
),
);
</script>
</body>
</html>