elk/app.vue

37 lines
473 B
Vue
Raw Normal View History

2022-11-13 13:34:43 +08:00
<script setup>
useHead({
2022-11-14 00:05:32 +08:00
title: 'Nuxtodon',
2022-11-13 13:34:43 +08:00
link: [
{
rel: 'icon', type: 'image/png', href: '/nuxt.png',
},
],
})
2022-11-23 10:16:31 +08:00
// eslint-disable-next-line no-unused-expressions
isDark.value
2022-11-13 13:34:43 +08:00
</script>
<template>
2022-11-23 06:47:25 +08:00
<NuxtLoadingIndicator />
2022-11-13 13:34:43 +08:00
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</template>
<style>
html, body , #__nuxt{
height: 100vh;
margin: 0;
padding: 0;
}
html.dark {
2022-11-23 10:16:31 +08:00
color-scheme: dark;
}
html {
--at-apply: bg-base text-base;
2022-11-13 13:34:43 +08:00
}
</style>