tantee-nuxt-commons
Ramathibodi Nuxt modules for common components
8,338
| Install | |
|---|---|
npm install tantee-nuxt-commons |
|
| Latest Version: | 4.0.2 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Mar 19, 2026 |
| Links: | Repository · npm |
Maintainer: tantee
@ramathibodi/nuxt-commons
Nuxt module for Nuxt 3 and Nuxt 4 that provides shared runtime building blocks for Rama projects:
- globally auto-imported UI components
- auto-imported composables
- runtime plugins for permission/dialog/default behavior
- utility and lab exports
Install
# pnpm
pnpm add -D @ramathibodi/nuxt-commons
# yarn
yarn add --dev @ramathibodi/nuxt-commons
# npm
npm install --save-dev @ramathibodi/nuxt-commons
Nuxt Setup
// nuxt.config.ts
export default defineNuxtConfig({
modules: ['@ramathibodi/nuxt-commons'],
})
Supported Nuxt versions: ^3.16.0 || ^4.0.0
What The Module Registers
Configured in src/module.ts:
- Components from
src/runtime/components(global + prefixed) - Composables from
src/runtime/composables/**(auto-imported) - Plugins:
src/runtime/plugins/permission.tssrc/runtime/plugins/dialogManager.ts(client)src/runtime/plugins/clientConfig.ts(client)src/runtime/plugins/default.ts(client)
- Type templates from
src/runtime/types/*.d.ts
Runtime Config
This module uses public runtime config at:
runtimeConfig.public['nuxt-commons']
Module options are merged into this key by module setup.
Development
# Install dependencies
npm install
# Prepare stubs/types
npm run dev:prepare
# Run playground
npm run dev
# Build playground
npm run dev:build
# Lint and test
npm run lint
npm run test
Documentation
Generate documentation artifacts from source:
# Vue component API docs (vue-docgen)
npm run docs:api:components
# Composable API docs (typedoc)
npm run docs:api:composables
# Both API docs
npm run docs:api
# AI-focused summary + type index
npm run docs:ai:summary
docs:api:components now runs a post-process step that enriches missing prop/event descriptions and missing type/default cells in generated markdown using docs/ai-summary.json.
Documentation config files:
docs/vue-docgen.config.cjsfor component docs generationdocs/typedoc.jsonfor composable docs generationdocs/typedoc.tsconfig.jsonfor docs-only TypeScript scope
Generated outputs:
docs/components/(vue-docgen output)docs/composables/(typedoc output)docs/ai-summary.md(compact AI-oriented markdown summary)docs/ai-summary.json(machine-readable component/composable metadata)docs/type-index.json(type index for tooling/AI pipelines)
docs:ai:summary generates:
docs/ai-summary.mddocs/ai-summary.jsondocs/type-index.json
Publish Notes
package.json version is used to select the publish line by major.minor:
- Keep the same
major.minorline to continue normal releases. - Change it to
0.2.0,1.1.0, etc. to start publishing that new line on the next release.
npm run dev:build
npm run release
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 4.0.2 | ^3.5.30 | MIT | |
| 4.0.1 | ^3.5.30 | MIT | |
| 4.0.0 | ^3.5.30 | MIT | |
| 0.0.176 | ^3.5.13 | MIT | |
| 0.0.175 | ^3.5.13 | MIT | |
| 0.0.174 | ^3.5.13 | MIT | |
| 0.0.173 | ^3.5.13 | MIT | |
| 0.0.172 | ^3.5.13 | MIT | |
| 0.0.171 | ^3.5.13 | MIT | |
| 0.0.170 | ^3.5.13 | MIT | |
| 0.0.169 | ^3.5.13 | MIT | |
| 0.0.168 | ^3.5.13 | MIT | |
| 0.0.167 | ^3.5.13 | MIT | |
| 0.0.166 | ^3.5.13 | MIT | |
| 0.0.165 | ^3.5.13 | MIT | |
| 0.0.164 | ^3.5.13 | MIT | |
| 0.0.163 | ^3.5.13 | MIT | |
| 0.0.162 | ^3.5.13 | MIT | |
| 0.0.161 | ^3.5.13 | MIT | |
| 0.0.160 | ^3.5.13 | MIT | |
| 0.0.159 | ^3.5.13 | MIT | |
| 0.0.158 | ^3.5.13 | MIT | |
| 0.0.157 | ^3.5.13 | MIT | |
| 0.0.156 | ^3.5.13 | MIT | |
| 0.0.155 | ^3.5.13 | MIT | |
| 0.0.154 | ^3.5.13 | MIT | |
| 0.0.153 | ^3.5.13 | MIT | |
| 0.0.152 | ^3.5.13 | MIT | |
| 0.0.151 | ^3.5.13 | MIT | |
| 0.0.150 | ^3.5.13 | MIT |
Showing the latest 30 of 179. See every release on npm
Pre-releases (2)
| Version | Released | Vue | License |
|---|---|---|---|
| 0.0.64-0 | ^3.4.25 | MIT | |
| 0.0.59-0 | ^3.4.25 | MIT |