@innertia-solutions/innertia-nuxt
Innertia Solutions — Nuxt layer unificada: core, auth, multitenancy, theme y app contexts
10,387
| Install | |
|---|---|
npm install @innertia-solutions/innertia-nuxt |
|
| Latest Version: | 0.1.59 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Aug 4, 2026 |
| Links: | GitHub · npm |
Maintainer: gfariaspavez
@innertia-solutions/innertia-nuxt
Capa Nuxt unificada de Innertia Solutions. Provee en un solo paquete:
- Utilities — composables base (useApi, useDate, useDevice, useDownload, useRealtime, etc.) + plugin pusher + SEO
- Auth — JWT, contextos, permisos, vue-query, stores de notifications/auth, middlewares
auth/guest - Multitenancy — multi-tenant por subdomain (
X-Tenantheader, validación de tenant, store de tenant) - Design system — components, layouts, theme Tailwind, Preline, Tabler icons, tema configurable
- App contexts — apps multi-contexto (backoffice/teacher/technician...), mobile guard configurable
Uso
pnpm add @innertia-solutions/innertia-nuxt
// nuxt.config.ts
export default defineNuxtConfig({
extends: ['@innertia-solutions/innertia-nuxt'],
css: ['@innertia-solutions/innertia-nuxt/theme.css'],
appConfig: {
innertia: {
mode: 'saas', // 'saas' (default) | 'app'
branding: { name: 'MyApp', version: '1.0.0' },
// Tema Preline — define el "feel" completo (paleta neutral, dark mode tone).
// Ver https://preline.co/docs/themes.html
theme: 'moon', // 'default' | 'harvest' | 'retro' | 'ocean' | 'autumn' | 'moon' | 'bubblegum' | 'cashmere' | 'olive'
// Override del brand color del tema (opcional)
colors: { primary: 'violet', secondary: 'slate' },
apps: {
backoffice: {
path: '/backoffice',
context: 'backoffice',
label: 'Backoffice',
icon: 'IconBuildingSkyscraper',
loginPath: '/backoffice/login',
home: '/backoffice',
mobile: { mode: 'block' },
},
// ...más contextos
},
mobile: { breakpoint: 1024, rememberChoice: true },
},
},
})
Modos
| Modo | Subdomain detection | Tenant validation | X-Tenant header | Auth | Apps |
|---|---|---|---|---|---|
saas (default) |
✅ | ✅ | ✅ | ✅ | ✅ |
app |
❌ | ❌ | ❌ | ✅ | ✅ |
CI
- Push a
main→auto-publish.ymlbumpea patch y publica automáticamente. - Workflow
release.ymlmanual → permite elegir bump (patch/minor/major).
Requiere NPM_TOKEN configurado en environment NPM del repo.
Related Packages
@eaera-com/cms-sdk
EAERA CMS SDK — data access layer for Nuxt 3 apps (ofetch + Pinia + typed servic...
7,106
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.59 | >=3.5.0 | MIT | |
| 0.1.58 | >=3.5.0 | MIT | |
| 0.1.57 | >=3.5.0 | MIT | |
| 0.1.56 | >=3.5.0 | MIT | |
| 0.1.55 | >=3.5.0 | MIT | |
| 0.1.54 | >=3.5.0 | MIT | |
| 0.1.53 | >=3.5.0 | MIT | |
| 0.1.51 | >=3.5.0 | MIT | |
| 0.1.50 | >=3.5.0 | MIT | |
| 0.1.49 | >=3.5.0 | MIT | |
| 0.1.48 | >=3.5.0 | MIT | |
| 0.1.47 | >=3.5.0 | MIT | |
| 0.1.46 | >=3.5.0 | MIT | |
| 0.1.45 | >=3.5.0 | MIT | |
| 0.1.44 | >=3.5.0 | MIT | |
| 0.1.43 | >=3.5.0 | MIT | |
| 0.1.42 | >=3.5.0 | MIT | |
| 0.1.41 | >=3.5.0 | MIT | |
| 0.1.40 | >=3.5.0 | MIT | |
| 0.1.39 | >=3.5.0 | MIT | |
| 0.1.38 | >=3.5.0 | MIT | |
| 0.1.37 | >=3.5.0 | MIT | |
| 0.1.36 | >=3.5.0 | MIT | |
| 0.1.35 | >=3.5.0 | MIT | |
| 0.1.34 | >=3.5.0 | MIT | |
| 0.1.33 | >=3.5.0 | MIT | |
| 0.1.32 | >=3.5.0 | MIT | |
| 0.1.31 | >=3.5.0 | MIT | |
| 0.1.30 | >=3.5.0 | MIT | |
| 0.1.29 | >=3.5.0 | MIT |
Showing the latest 30 of 57. See every release on npm