|
2 | 2 | <html lang="en"> |
3 | 3 | <head> |
4 | 4 | <meta charset="utf-8" /> |
5 | | - <link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> |
| 5 | + <link rel="icon" href="/favicon.ico" /> |
6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
7 | 7 | <meta name="theme-color" content="#000000" /> |
8 | 8 | <meta |
9 | 9 | name="description" |
10 | | - content="Web site created using create-react-app" |
| 10 | + content="Web site created using vite" |
11 | 11 | /> |
12 | | - <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> |
| 12 | + <link rel="apple-touch-icon" href="/logo192.png" /> |
13 | 13 | <!-- |
14 | 14 | manifest.json provides metadata used when your web app is installed on a |
15 | 15 | user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ |
16 | 16 | --> |
17 | | - <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> |
18 | | - <!-- |
19 | | - Notice the use of %PUBLIC_URL% in the tags above. |
20 | | - It will be replaced with the URL of the `public` folder during the build. |
21 | | - Only files inside the `public` folder can be referenced from the HTML. |
22 | | -
|
23 | | - Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will |
24 | | - work correctly both with client-side routing and a non-root public URL. |
25 | | - Learn how to configure a non-root public URL by running `npm run build`. |
26 | | - --> |
| 17 | + <link rel="manifest" href="/manifest.json" /> |
27 | 18 | <title>React App</title> |
28 | 19 | </head> |
29 | 20 | <body> |
30 | 21 | <noscript>You need to enable JavaScript to run this app.</noscript> |
31 | 22 | <div id="root"></div> |
| 23 | + <script type="module" src="/src/index.tsx"></script> |
32 | 24 | <!-- |
33 | 25 | This HTML file is a template. |
34 | 26 | If you open it directly in the browser, you will see an empty page. |
|
0 commit comments