This file provides guidance to Claude Code (claude.ai/claude-code) when working with this codebase.
LINE Order App - A mobile-first web application for restaurant ordering, built with Vue 3 + TypeScript + LIFF (LINE Front-end Framework).
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview
The app supports four business modes:
src/api/ - API interface definitionssrc/components/ - Reusable Vue componentssrc/composables/ - Vue composition functions (hooks)src/config/ - Global configurationsrc/locale/ - i18n language packs (ja, en, zh-Hans, zh-Hant)src/router/ - Route definitionssrc/store/ - Pinia state managementsrc/utils/ - Utility functionssrc/views/ - Page components organized by featureAll user-facing text must use i18n. Language files are in src/locale/:
ja.json - Japanese (default)en.json - Englishzh-Hans.json - Simplified Chinesezh-Hant.json - Traditional ChineseWhen adding new text:
$t('key') in templates or t('key') in setup scripts<script setup lang="ts">Located in .env.development and .env.production:
VITE_API_URL - Backend API URLVITE_WS_URL - WebSocket URLVITE_LIFF_ID - LINE LIFF IDVITE_TENANT_ID - Tenant ID