UNPKG

@chahindb7/primevue-components

Version:

A curated set of extended PrimeVue components for Vue 3, offering additional flexibility and tweaks.

60 lines (41 loc) 1.51 kB
# @chahindb7/primevue-components A curated collection of enhanced [PrimeVue](https://primevue.org) 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 ```bash npm install @chahindb7/primevue-componen or yarn add @chahindb7/primevue-components ``` ## 🚀 Usage Vue 3 Manual Import (Nuxt Plugin Example) ```bash // 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) ```bash // 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](https://raw.githubusercontent.com/ChahinDB7/primevue-components/refs/heads/master/LICENSE)