2021-03-28 13:35:45 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2021-09-07 12:29:18 +08:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<link rel="icon" type="image/svg" href="/logo.svg" />
|
|
|
|
<title>Vue SFC Playground</title>
|
|
|
|
<script>
|
|
|
|
// process shim for old versions of @vue/compiler-sfc dependency
|
|
|
|
window.process = { env: {} }
|
2021-09-17 02:23:09 +08:00
|
|
|
const saved = localStorage.getItem('vue-sfc-playground-prefer-dark')
|
|
|
|
if (
|
|
|
|
saved !== 'false' ||
|
|
|
|
window.matchMedia('(prefers-color-scheme: dark)').matches
|
|
|
|
) {
|
2021-09-07 12:29:18 +08:00
|
|
|
document.documentElement.classList.add('dark')
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<script type="module" src="/src/main.ts"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="app"></div>
|
|
|
|
</body>
|
|
|
|
</html>
|