Added react, snowpack and typescript to project template

This commit is contained in:
2021-04-28 22:43:35 +05:00
commit c1f8acef8c
7 changed files with 87 additions and 0 deletions

15
src/index.tsx Normal file
View File

@ -0,0 +1,15 @@
import React from "react";
import ReactDOM from "react-dom";
import { App } from "./App";
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById("root")
);
if (import.meta.hot) {
import.meta.hot.accept();
}