Files
3Dviewer/frontend/src/App.vue
likegears 7af9c323f6 Initial commit: 3D Viewer application
Features:
- Vue 3 frontend with Three.js/Online3DViewer
- Node.js API with PostgreSQL and Redis
- Python worker for model conversion
- Docker Compose for deployment
- ViewCube navigation with drag rotation and 90° snap
- Cross-section, exploded view, and render settings
- Parts tree with visibility controls

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 14:00:17 +08:00

21 lines
412 B
Vue

<script setup lang="ts">
import { onMounted, onUnmounted } from 'vue'
import { useModelsStore } from '@/stores/models'
import AppLayout from '@/components/layout/AppLayout.vue'
const modelsStore = useModelsStore()
onMounted(async () => {
await modelsStore.fetchModels()
modelsStore.startPolling(5000)
})
onUnmounted(() => {
modelsStore.stopPolling()
})
</script>
<template>
<AppLayout />
</template>