mirror of
https://github.com/usatiuk/photos.git
synced 2025-10-28 15:27:49 +01:00
init
This commit is contained in:
14
frontend/src/index.html
Normal file
14
frontend/src/index.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>My Parcel Project</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script src="./index.tsx"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
4
frontend/src/index.tsx
Normal file
4
frontend/src/index.tsx
Normal file
@@ -0,0 +1,4 @@
|
||||
import * as React from "react";
|
||||
import { render } from "react-dom";
|
||||
|
||||
render(<h1>Hello World</h1>, document.getElementById("root"));
|
||||
Reference in New Issue
Block a user