add link preload fonts
This commit is contained in:
parent
7dc296ea5d
commit
cfcceb96e1
14
index.html
14
index.html
|
@ -5,6 +5,20 @@
|
|||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Vite + React + TS</title>
|
||||
<link
|
||||
rel="preload"
|
||||
href="./Inter-font/Inter-Regular.ttf"
|
||||
as="font"
|
||||
type="font/ttf"
|
||||
crossOrigin=""
|
||||
/>
|
||||
<link
|
||||
rel="preload"
|
||||
href="./Inter-font/Inter-Bold.ttf"
|
||||
as="font"
|
||||
type="font/ttf"
|
||||
crossOrigin=""
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
<script>window.global = window;</script>
|
||||
|
|
Loading…
Reference in New Issue