@revenexx/studio-shared
| Install | |
|---|---|
npm install @revenexx/studio-shared |
|
| Latest Version: | 0.4.0 |
| Vue: | 3 |
| License: | Custom |
| Last Updated: | Oct 11, 2026 |
| Links: | npm |
@revenexx/studio-shared
Shared revenexx Studio shell primitives (PageHeader, SidebarNav,
StateCard, StudioCard, TabBar, KpiTile, DataTable, …) plus the
platform provider contract (usePlatformAuth / usePlatformTenant).
It's a Nuxt module: add it to modules, then add a studio module
(@revenexx/studio-integrations, @revenexx/studio-commerce). It's a
peer/base of those modules — install it alongside them.
Up to 0.1.x this package was a Nuxt layer (
extends). That broke when installed from npm: a layer's nuxt.config is silently dropped when loaded out of node_modules, so components registered with a directory prefix (SharedPageHeader) and every bare<PageHeader>rendered nothing. As a module its setup always runs. Switchextends→moduleswhen upgrading.
Install
Public on npm — no registry config or token needed:
pnpm add @revenexx/studio-shared @revenexx/studio
Use
// nuxt.config.ts
export default defineNuxtConfig({
modules: [
'@solar-icons/nuxt', // provides the #solar-icons the primitives use
'@revenexx/studio-shared',
],
})
The components auto-import by bare name (<PageHeader>, <DataTable>, …). Types
(DataTableColumn, SidebarNavSection, PlatformAuth, PlatformTenant) import
from @revenexx/studio-shared. Individual SFCs stay importable via
@revenexx/studio-shared/components/Shared/SidebarNav.vue.
⚠️ Tailwind: you MUST scan this package
The primitives ship uncompiled templates, not precompiled CSS — Tailwind
generates their classes from your build. Add the shipped runtime to your
Tailwind sources, or classes used only here (e.g. the TabBar active 2px
underline: inset-x-2.5 + bg-primary/40) won't be generated and styling
silently breaks:
/* your app's main tailwind entry */
@import "tailwindcss";
@import "@revenexx/studio/tokens"; /* design-system tokens */
@import "@revenexx/studio/fonts";
@source "../node_modules/@revenexx/studio-shared/dist/runtime";
Adjust the relative path to reach node_modules from your CSS file.
Peers
@revenexx/studio (design system + tokens), nuxt ^4, vue ^3.5,
vue-sonner ^2, plus the consumer must register @solar-icons/nuxt.
Related Packages
Commerce Studio (manifest-driven AppRenderer: list/detail/form/widgets over inst...
Nuxt Image provider for the revenexx Storage CDN. Build optimized, on-the-fly im...
Server-rendered cookie consent for Nuxt without a third-party script: an SSR con...
Consent-gated tag manager for Nuxt, built on @nuxt/scripts: loads the tags publi...
Cover — revenexx design system for Nuxt. Distributed as a Nuxt layer: generic UI...
Version History
| Version | Released | License |
|---|---|---|
| 0.4.0 | Custom | |
| 0.3.3 | Custom | |
| 0.3.2 | Custom | |
| 0.3.1 | Custom | |
| 0.3.0 | Custom | |
| 0.2.0 | Custom | |
| 0.1.2 | Custom | |
| 0.1.1 | Custom | |
| 0.1.0 |