Skip to content

Commit b311d74

Browse files
authored
Merge pull request #103 from gun9311/dev
[fix] CSS 파일 미리 로드
2 parents 37e6785 + 65cf3fd commit b311d74

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

frontend/public/index.html

+19-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
<!DOCTYPE html>
22
<html lang="ko">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
7-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
8-
<title>NUDGE</title>
9-
</head>
10-
<body>
11-
<div id="root"></div>
12-
</body>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
7+
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
8+
<title>NUDGE</title>
9+
<link
10+
rel="preload"
11+
href="%PUBLIC_URL%/static/css/main.css"
12+
as="style"
13+
onload="this.rel='stylesheet'"
14+
/>
15+
<noscript
16+
><link rel="stylesheet" href="%PUBLIC_URL%/static/css/main.css"
17+
/></noscript>
18+
</head>
19+
<body>
20+
<div id="root"></div>
21+
</body>
1322
</html>

0 commit comments

Comments
 (0)