@poupe/nuxt

Nuxt module for integrating Poupe UI framework with theme customization and components
3,052 3
Install
npm install @poupe/nuxt
Latest Version:0.5.0
Vue:3
License:MIT
Last Updated:Oct 22, 2026
Links: GitHub  ·  npm
Maintainer: mnemoc

@poupe/nuxt

jsDocs.io npm version License: MIT

Nuxt module for integrating Poupe UI framework with theme customization and components.

Features

  • 🧩 Easy integration of Poupe UI with Nuxt applications
  • 🔄 Auto-imports of Poupe Vue components
  • 🎨 Theme customization through Nuxt config
  • 🌓 Dark/light mode support with integration to @nuxtjs/color-mode
  • 🛠️ TailwindCSS configuration included

Installation

npm install @poupe/nuxt @poupe/vue @poupe/theme-builder
# or
yarn add @poupe/nuxt @poupe/vue @poupe/theme-builder
# or
pnpm add @poupe/nuxt @poupe/vue @poupe/theme-builder

Setup

Add the module to your nuxt.config.ts:

export default defineNuxtConfig({
  modules: [
    '@poupe/nuxt'
  ],
  poupe: {
    // Configuration options
    theme: {
      colors: {
        primary: '#1976d2',
        secondary: '#9c27b0',
        // Add more colors as needed
      }
    }
  }
})

Configuration Options

Theme Configuration

export default defineNuxtConfig({
  modules: ['@poupe/nuxt'],
  poupe: {
    theme: {
      colors: {
        primary: '#1976d2',
        secondary: '#9c27b0',
        // Other colors
      },
      // Other theme options
      spacing: {
        // Custom spacing
      },
      borderRadius: {
        // Custom border radius
      }
    },
    // Enable/disable dark mode
    darkMode: true,
    // Component options
    components: {
      prefix: 'P', // Default prefix for components
      // Component-specific options
    }
  }
})

Using Components

Once installed, all Poupe components are automatically available in your Nuxt application:

<template>
  <div>
    <PButton>Click me</PButton>
    <PCard>
      <h2>Card Title</h2>
      <p>Card content</p>
    </PCard>
  </div>
</template>

Development

For local development, check out the playground directory.

Related Packages

Requirements

  • Nuxt ^4.0.0
  • Node.js >=20.19.1
  • @poupe/theme-builder ^0.7.0
  • @poupe/vue ^0.4.1

License

MIT licensed.

Related Packages

@poupe/vue

Vue component library for Poupe UI framework with theme customization and access...

3,734 3
nuxt-windicss

Windi CSS for Nuxt.js

227,810 328
unocss-nuxt-ui

Use UnoCSS with Nuxt UI without Tailwind CSS

1,719 27
mockline

Mockline is a premium UI Kit for Nuxt and VueJS based on TailwindCSS. It provide...

1,349 13
@mockline/utils

Mockline Utils is the minimal utility library for Mockline. To kickstart your pr...

789 13

Version History

Version Released Vue License
0.5.0 ^3.0 MIT
0.4.4 MIT
0.4.3 MIT
0.4.2 MIT
0.4.1 MIT