Variant Systems

Vue for Logistics

Logistics operations generate constant data streams from vehicles, warehouses, and sensors. Vue turns that data into actionable dashboards your operators trust.

Variant Systems builds industry-specific software with the tools that fit the problem.

Why this combination

  • Vue's fine-grained reactivity updates individual shipment markers and status indicators without re-rendering entire map views or data tables.
  • The Composition API organizes GPS tracking, route optimization, and ETA calculation logic into composables that are shared across dispatcher and driver interfaces.
  • Nuxt 3's server routes handle webhook ingestion from IoT sensors and carrier APIs, keeping real-time data pipelines in the same codebase as the frontend.
  • Pinia stores manage complex multi-entity state where vehicles, shipments, warehouses, and drivers all have interconnected status that changes continuously.

Live Fleet Visibility on Interactive Maps

Logistics dispatchers need to see every vehicle in their fleet on a single screen, updating in real time. Vue components wrap mapping libraries like Mapbox GL or Leaflet, binding vehicle positions to reactive data from GPS WebSocket feeds. When a truck moves, only its marker repositions on the map. The rest of the map, other markers, route polylines, and geofence boundaries stay untouched because Vue’s reactivity tracks each vehicle’s coordinates independently.

A useFleetTracking composable manages the WebSocket connection, buffers incoming position updates, and flushes them on animation frames to keep the map rendering smooth even when tracking hundreds of vehicles simultaneously. Clicking a vehicle marker opens a detail panel showing speed, heading, ETA, and hours-of-service status, all bound to reactive state that updates continuously. Dispatchers see the information they need without refreshing the page or switching between applications.

Warehouse Operations in Real Time

Warehouse management interfaces coordinate dozens of concurrent activities. Inbound trucks need dock door assignments. Pickers need optimized pick lists. Packers need shipment details. Outbound staging areas need load plans. Each of these views consumes overlapping data from the same Pinia store that models the warehouse’s current state. When a picker completes an item, the pick list updates, the packer’s queue grows, and the outbound load plan recalculates, all reactively.

Vue’s component model lets you build each workstation view as an independent application that shares the same underlying Pinia store. A dock manager sees inbound appointments and door availability. A floor supervisor sees pick productivity metrics and exception alerts. The Composition API’s useWarehouseState composable provides each view with computed properties tailored to its role while the raw data stays normalized in the store. Adding a new workstation view means creating a new component, not refactoring shared state logic.

Shipment Tracking with Animated Timelines

Customers and internal teams want to know where a shipment is and when it will arrive. Vue’s transition groups animate shipment status changes as packages pass through scanning checkpoints. A vertical timeline component renders each checkpoint as a node, and when a new scan event arrives through a reactive data feed, Vue animates the new node into the timeline with a smooth entrance transition.

The useShipmentTracking composable polls the carrier API or listens to webhook-driven updates and normalizes events from different carriers into a unified timeline format. Computed properties derive estimated delivery windows from the latest checkpoint data and carrier-specific transit time models. Nuxt 3 server routes handle incoming carrier webhooks, validate their signatures, and push events to connected clients through server-sent events, keeping the tracking page current without the user needing to refresh.

Route Optimization Feedback Loops

Route planning in logistics is not a one-time calculation. Traffic conditions change, new orders arrive, and drivers encounter delays. Vue’s reactivity creates a feedback loop where dispatchers adjust parameters and see results immediately. A route planning interface binds vehicle capacity, delivery time windows, traffic data, and driver availability to a Pinia store. When the dispatcher drags a stop to a different position in the route, computed properties recalculate total distance, estimated time, and capacity utilization instantly.

The Composition API’s useRouteOptimizer composable sends constraint data to a backend solver and streams back optimized routes as they improve. Vue renders intermediate solutions progressively, showing the dispatcher increasingly better routes while the solver continues working. This feedback model lets dispatchers intervene early when the solver’s suggestions conflict with ground-level knowledge that the algorithm cannot capture.

Compliance considerations

ELD mandate compliance dashboards use Vue's computed properties to calculate hours-of-service remaining and display warnings when drivers approach legal limits.
Chain of custody tracking for regulated shipments uses Pinia action logs to record every status transition with timestamps and authenticated handler identity.
Hazmat routing restrictions are enforced in route planning UIs using Vue's conditional rendering to flag prohibited road segments and suggest compliant alternatives.
Temperature monitoring for cold chain logistics uses Vue's reactivity to display real-time sensor readings and trigger visual alerts when thresholds are breached.

Common patterns we build

  • Fleet tracking maps using Vue components wrapping Mapbox GL or Leaflet with reactive marker positions updated from GPS WebSocket feeds.
  • Warehouse management dashboards with Pinia stores tracking inventory locations, pick lists, and dock door assignments across multiple fulfillment centers.
  • Shipment timeline views using Vue's transition groups to animate status changes as packages move through scanning checkpoints.
  • Route planning interfaces with Composition API composables integrating traffic data, vehicle capacity constraints, and delivery time windows.

Other technologies

Services

Building in Logistics?

We understand the unique challenges. Let's talk about your project.

Get in touch