generated from smiley717/near-vue-tailwind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
24 lines (24 loc) · 1.02 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>NEAR + VUE + TAILWIND</title>
<link rel="stylesheet" href="/font/inter.css" />
<style>html { background: #eef8f9; } html.dark { background: #0A1F1C; }</style>
<script type="text/javascript">
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.querySelector('html').classList.add('dark')
} else {
document.querySelector('html').classList.remove('dark')
}
</script>
</head>
<body>
<div id="app"></div>
<!-- Build with Vite is messing import up somehow using local dep instead! -->
<script src="/node_modules/near-api-js/dist/near-api-js.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/gh/nearprotocol/near-api-js/dist/near-api-js.js"></script> -->
<script type="module" src="/src/main.js"></script>
</body>
</html>