use App.jsx as vite entry

This commit is contained in:
srgooglo 2022-03-16 04:25:57 +01:00
parent 90099d12c9
commit d5b668996a
2 changed files with 1 additions and 6 deletions

View File

@ -7,6 +7,6 @@
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/vite.entry.jsx"></script>
<script type="module" src="/src/App.jsx"></script>
</body>
</html>

View File

@ -1,5 +0,0 @@
import React from "react"
import ReactDOM from "react-dom"
import App from "./App"
ReactDOM.render(<App />, document.getElementById("root"))