Takazudo Modular Docs

Type to search...

to open search from anywhere

/sub-packages/addac-order/CLAUDE.md

CLAUDE.md at /sub-packages/addac-order/CLAUDE.md

Path: sub-packages/addac-order/CLAUDE.md

addac-order

Standalone Tauri v2 app for calculating ADDAC System module orders — browse products, filter by category, add to cart, and export to clipboard.

Quick Start

pnpm tauri:dev    # launch the Tauri app (runs Vite dev server on port 14190)
pnpm dev          # Vite dev server only (browser at http://localhost:14190)

Architecture

  • src/ — React + Vite frontend with Tailwind CSS v4
    • app.tsx — Root component (toolbar + product table + cart panel)
    • components/ — UI components (toolbar, product-table, cart-panel, etc.)
    • data/ — ADDAC product data (addac-products.json, addac-urls.json)
    • hooks/use-filter, use-cart, use-currency, use-zoom
  • src-tauri/ — Tauri v2 Rust backend (minimal, no custom commands)

Unlike the tauri-* wrapper packages, this is a fully self-contained app: it does not spawn an external dev server. The Vite frontend is embedded directly.

Key Files

  • src/data/addac-products.json — Product catalog data
  • src-tauri/tauri.conf.json — Tauri config (devUrl: localhost
    )
  • package.json — Scripts: dev, build, tauri:dev, tauri:build