1.0.1 • Published 7 months ago

@chahindb7/primevue-components v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@chahindb7/primevue-components

A curated collection of enhanced PrimeVue components for Vue 3, built with flexibility and developer experience in mind. This library provides extended versions of key PrimeVue components, fine-tuned for custom use cases and optimized for Nuxt 3 integration.


✨ Features

  • Fully compatible with Vue 3 and Nuxt 3
  • Named exports for tree-shaking and flexibility
  • Customizable PrimeVue components (Dialog, PopOver)
  • Ready-to-use Nuxt plugin and module support
  • Written in modern ES modules with Vite

📦 Installation

npm install @chahindb7/primevue-componen

or

yarn add @chahindb7/primevue-components

🚀 Usage Vue 3

Manual Import (Nuxt Plugin Example)

// main.js
import { createApp } from 'vue'
import App from './App.vue'
import { Dialog, PopOver } from '@chahindb7/primevue-components'

const app = createApp(App)

app.component('PrimeVueDialog', Dialog)
app.component('PrimeVuePopover', PopOver)

app.mount('#app')

🚀 Usage Nuxt3

Manual Import (Nuxt Plugin Example)

// plugins/primevue-components.ts
import { defineNuxtPlugin } from '#app'
import { Dialog, PopOver } from '@chahindb7/primevue-components'

export default defineNuxtPlugin((nuxtApp) => {
  nuxtApp.vueApp.component('PrimeVueDialog', Dialog)
  nuxtApp.vueApp.component('PrimeVuePopover', PopOver)
})

📝 License

MT