Skip to content

Commit 0a68ca0

Browse files
upgrade typescript replace cra with vite
1 parent 5226e0d commit 0a68ca0

File tree

6 files changed

+6834
-19967
lines changed

6 files changed

+6834
-19967
lines changed

public/index.html renamed to index.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
5+
<link rel="icon" href="/favicon.ico" />
66
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
77
<meta name="viewport" content="width=device-width, initial-scale=1" />
88
<meta name="theme-color" content="#000000" />
@@ -3568,18 +3568,18 @@
35683568
})();
35693569
})();
35703570
</script>
3571-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
3571+
<link rel="apple-touch-icon" href="/logo192.png" />
35723572
<!--
35733573
manifest.json provides metadata used when your web app is installed on a
35743574
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
35753575
-->
3576-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
3576+
<link rel="manifest" href="/manifest.json" />
35773577
<!--
3578-
Notice the use of %PUBLIC_URL% in the tags above.
3578+
Notice the use of in the tags above.
35793579
It will be replaced with the URL of the `public` folder during the build.
35803580
Only files inside the `public` folder can be referenced from the HTML.
35813581
3582-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
3582+
Unlike "/favicon.ico" or "favicon.ico", "/favicon.ico" will
35833583
work correctly both with client-side routing and a non-root public URL.
35843584
Learn how to configure a non-root public URL by running `npm run build`.
35853585
-->
@@ -3588,6 +3588,7 @@
35883588
<body>
35893589
<noscript>You need to enable JavaScript to run this app.</noscript>
35903590
<div id="root"></div>
3591+
<script type="module" src="/src/index.tsx"></script>
35913592
<!--
35923593
This HTML file is a template.
35933594
If you open it directly in the browser, you will see an empty page.

0 commit comments

Comments
 (0)