Files
ai-write/src/App.vue
empty 9fb3600a6a feat: 初始化AI写作工坊项目
- 实现基于Vue 3 + Vite的模块化架构
- 集成DeepSeek API进行内容生成
- 支持写作范式分析功能
- 添加环境变量配置支持
- 完整的项目结构和文档
2026-01-08 10:04:59 +08:00

22 lines
582 B
Vue

<template>
<div class="flex h-full">
<!-- 左侧面板 -->
<WriterPanel v-if="currentPage === 'writer'" />
<AnalysisPanel v-else />
<!-- 右侧主内容区 -->
<MainContent />
</div>
</template>
<script setup>
import { computed } from 'vue'
import { useAppStore } from './stores/app'
import WriterPanel from './components/WriterPanel.vue'
import AnalysisPanel from './components/AnalysisPanel.vue'
import MainContent from './components/MainContent.vue'
const appStore = useAppStore()
const currentPage = computed(() => appStore.currentPage)
</script>