- Remove apps/dispatch/ (100% replaced by ops dispatch module, unmaintained) - Commit services/targo-hub/lib/ (24 modules, 6290 lines — was never tracked) - Commit services/docuseal + services/legacy-db docker-compose configs - Extract client app composables: useOTP, useAddressSearch, catalog data, format utils - Refactor CartPage.vue 630→175 lines, CatalogPage.vue 375→95 lines - Clean hardcoded credentials from config.js fallback values - Add client portal: catalog, cart, checkout, OTP verification, address search - Add ops: NetworkPage, AgentFlowsPage, ConversationPanel, UnifiedCreateModal - Add ops composables: useBestTech, useConversations, usePermissions, useScanner - Add field app: scanner composable, docker/nginx configs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
388 B
Vue
17 lines
388 B
Vue
<template>
|
|
<router-view />
|
|
</template>
|
|
|
|
<script setup>
|
|
import { onMounted } from 'vue'
|
|
import { useCustomerStore } from 'src/stores/customer'
|
|
|
|
const store = useCustomerStore()
|
|
onMounted(() => {
|
|
store.init().catch(() => {
|
|
// Auth not available (standalone portal mode) — continue as guest
|
|
console.info('[Portal] Auth unavailable — running in guest mode')
|
|
})
|
|
})
|
|
</script>
|