refactor: use Nuxt 4 directory structure

This commit is contained in:
AnotiaWang
2025-02-28 16:16:02 +08:00
parent 7a87ed5def
commit c45d75fad2
31 changed files with 33 additions and 28 deletions

25
app/app.vue Normal file
View File

@ -0,0 +1,25 @@
<template>
<UApp :locale="zh_cn">
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</UApp>
</template>
<script setup lang="ts">
import { zh_cn } from '@nuxt/ui/locale'
// TODO
useHead({
title: 'Deep Research Web UI',
script: [
// Anonymous analytics
{
defer: true,
src: 'https://umami.ataw.top/script.js',
'data-website-id': '9f925777-1c4c-440d-94ae-4bfee9e7aa71',
'data-tag': useRuntimeConfig().public.version,
},
],
})
</script>