vue-create-api-service
OfficialTyped API services via centralized httpClient.
Authorbmslabs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Implement a data transport layer for Vue apps using typed static classes that consume a centralized httpClient, enabling consistent API interaction with automatic token injection and error handling.
Core Features & Use Cases
- Centralized httpClient integration (Bearer token from sessionStorage) and automatic 401 redirect
- Static-class API services per entity with private BASE_URL and static async methods
- Strongly typed DTOs and paginated responses, aligned with OpenAPI endpoints
- Encourages reuse of base URLs and constants to avoid duplication across services
Quick Start
Invoke the generator with /B [Entity] to create the API service for that entity.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: vue-create-api-service Download link: https://github.com/bmslabs/bmlabs-projects-templates/archive/main.zip#vue-create-api-service Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.