upload boilerplate files

This commit is contained in:
Mathew Balsdon
2022-02-16 19:00:29 -08:00
committed by GitHub
parent 289c084c1c
commit 8e91a0ae8d
12 changed files with 16366 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
import { ENV } from "./constants/env";
const App = () => {
return <span>My {ENV} App</span>;
};
export default App;
+1
View File
@@ -0,0 +1 @@
export const ENV: string = process.env.ENV || "dev";
+11
View File
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
<title>Typescript React App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>
+8
View File
@@ -0,0 +1,8 @@
import ReactDOM from "react-dom";
import App from "./App";
const Index = () => {
return <App />;
};
ReactDOM.render(<Index />, document.getElementById("root"));