@hzgotb/apim-nuxt
@hzgotb/apim-nuxt
Nuxt 4 module for file-based API modules, typed apim(...) requests, and
ApiModuleMeta-driven request and response inference.
Install
pnpm add @hzgotb/apim-nuxt
Configure
export default defineNuxtConfig({
modules: ['@hzgotb/apim-nuxt'],
apim: {
collections: ['modules/demo-api'],
},
})
Create API modules with defineApiModule(...), then place Nitro-compatible
handlers under their configured handler directories.
See the Nuxt package documentation for setup, concepts, and API reference.
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.0.1 | ^3.0 | MIT |