@vuecs/nuxt
v1.1.0
Published
Nuxt module for vuecs — auto-imports @vuecs/design tokens and ships SSR-safe color-mode, palette, and locale plugins. Theme-agnostic; dispatches palette/colorMode runtime hooks through whichever themes the consumer installs.
Maintainers
Readme
@vuecs/nuxt
Theme-agnostic Nuxt 4 module for vuecs — auto-injects @vuecs/design
design tokens and ships SSR-safe color-mode + palette handling
(useColorMode and useColorPalette auto-imports + matching SSR
plugins). The runtime dispatches through whichever themes the consumer
installs, so the same module covers Tailwind, Bulma, and any
palette-aware community theme.
Full documentation:
npm install @vuecs/nuxt @vuecs/design @vuecs/theme-tailwind// nuxt.config.ts
export default defineNuxtConfig({
modules: ['@vuecs/nuxt'],
vuecs: {
themes: ['@vuecs/theme-tailwind'],
colorMode: { value: 'system' },
colorPalette: { value: { primary: 'green' } },
},
});License
Made with 💚
Published under Apache 2.0 License.
