LoongPanel-Asp/web/app.vue

25 lines
450 B
Vue
Raw Normal View History

2024-06-22 10:54:02 +08:00
<script lang="ts" setup>
import { darkTheme } from 'naive-ui'
2024-06-22 10:54:02 +08:00
</script>
<template>
<div>
<NuxtPwaManifest />
2024-07-22 18:41:15 +08:00
<n-loading-bar-provider>
<n-config-provider :theme="$colorMode.value === 'dark' ? darkTheme : null">
2024-06-22 10:54:02 +08:00
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</n-config-provider>
2024-07-22 18:41:15 +08:00
</n-loading-bar-provider>
2024-06-22 10:54:02 +08:00
</div>
</template>
<style lang="scss">
@import "base";
:root {
--primary-color: $primary-color
}
2024-06-29 18:16:29 +08:00
2024-06-22 10:54:02 +08:00
</style>