Vue.js Sample Frontend

Sample Application

This is a reference implementation for external developers who want to build client applications on top of the management API. It is not the main back-office. The main back-office is Filament /admin.

This Vue 3 single-page application demonstrates how to consume the management API using the published TypeScript client package (@metanull/inventory-app-api-client). It is not intended for production use by end users.

Quick Start

All commands are run from the /spa directory:

npm install          # Install dependencies
npm run dev          # Start development server
npm run build        # Build for production
npm run test         # Run tests
npm run quality-check # Full quality check

Architecture

Integration with Laravel

Laravel serves the initial HTML shell at the /cli route. From there, Vue Router takes over client-side navigation. API calls are authenticated through Laravel Sanctum.

Documentation Sections