mirror of
https://github.com/vuejs/core.git
synced 2024-11-22 04:51:10 +00:00
27 lines
770 B
HTML
27 lines
770 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<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>
|
|
const savedPreferDark = localStorage.getItem(
|
|
'vue-sfc-playground-prefer-dark',
|
|
)
|
|
if (
|
|
savedPreferDark === 'true' ||
|
|
(!savedPreferDark &&
|
|
window.matchMedia('(prefers-color-scheme: dark)').matches)
|
|
) {
|
|
document.documentElement.classList.add('dark')
|
|
}
|
|
</script>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
</body>
|
|
</html>
|