- Updated the app to support light and dark themes with appropriate CSS classes. - Enhanced PWA configuration with manifest details and caching strategies. - Improved the chat UI with dynamic theme adjustments for various components. - Added new meta tags for better mobile web app experience. - Refactored environment variables to include new Anthropic token. - Updated package dependencies for better compatibility and performance. Made-with: Cursor
18 lines
351 B
Vue
18 lines
351 B
Vue
<template>
|
|
<div class="h-dvh flex flex-col" :class="currentTheme">
|
|
<RouterView />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { onMounted } from 'vue'
|
|
import { RouterView } from 'vue-router'
|
|
import { useTheme } from '@/composables/useTheme'
|
|
|
|
const { currentTheme, initTheme } = useTheme()
|
|
|
|
onMounted(() => {
|
|
initTheme()
|
|
})
|
|
</script>
|