Package Exports
- primevue/accordion
- primevue/accordiontab
- primevue/autocomplete
- primevue/breadcrumb
- primevue/button
- primevue/calendar
- primevue/card
- primevue/carousel
- primevue/checkbox
- primevue/chips
- primevue/colorpicker
- primevue/column
- primevue/columngroup
- primevue/contextmenu
- primevue/datatable
- primevue/dataview
- primevue/dataviewlayoutoptions
- primevue/deferredcontent
- primevue/dialog
- primevue/dropdown
- primevue/editor
- primevue/fieldset
- primevue/fileupload
- primevue/inplace
- primevue/inputmask
- primevue/inputswitch
- primevue/inputtext
- primevue/listbox
- primevue/megamenu
- primevue/menu
- primevue/menubar
- primevue/message
- primevue/multiselect
- primevue/orderlist
- primevue/organizationchart
- primevue/overlaypanel
- primevue/paginator
- primevue/panel
- primevue/panelmenu
- primevue/password
- primevue/picklist
- primevue/progressbar
- primevue/progressspinner
- primevue/radiobutton
- primevue/rating
- primevue/resources/primevue.css
- primevue/resources/primevue.min.css
- primevue/row
- primevue/selectbutton
- primevue/sidebar
- primevue/slider
- primevue/spinner
- primevue/splitbutton
- primevue/steps
- primevue/tabmenu
- primevue/tabpanel
- primevue/tabview
- primevue/textarea
- primevue/tieredmenu
- primevue/toast
- primevue/toastservice
- primevue/togglebutton
- primevue/toolbar
- primevue/tooltip
- primevue/tree
- primevue/treetable
- primevue/tristatecheckbox
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (primevue) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
PrimeVue
PrimeVue is available at npm, if you have an existing application run the following commands to download PrimeVue and PrimeIcons to your project.
npm install primevue --save
npm install primeicons --saveModule Loader
This is the recommended way if your application uses vue-cli or has a webpack based build with vue-loader configured. Import the components as .vue files for seamless integration within your project where path of each component is available at the "import" section of a component documentation.
//import {ComponentName} from 'primevue/{componentname}';
import Dialog from 'primevue/dialog';In the next step, register the component with the tag name you'd like to use.
Vue.component('Dialog', Dialog);Then you'll be able to utilize the component in your application.
<Dialog></Dialog>Script Tag
Other alternative is utilizing the components directly within the browser with UMD packages.
<meta charset="utf-8">
<title>calendar demo</title>
<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/primevue/components/calendar/calendar.umd.js"></script>
<div id="app">
<p-calendar></p-calendar>
</div>
<script>
new Vue({
components: {
'p-calendar': calendar
}
}).$mount('#app')
</script>Dependencies
Majority of PrimeVue components (95%) are native and there are some exceptions having 3rd party dependencies such as Quill for Editor.
In addition, components require PrimeIcons library for icons.
dependencies: {
"vue": "^2.6.10",
"primeicons": "^2.0.0"
}Here is the list of components with 3rd party dependencies.
| Component | Dependency |
|---|---|
| Charts | Charts.js 2.1.x+ |
| Editor | Quill.js 1.3.3+ |
| FullCalendar | FullCalendar 4.0.2+ |
| PrimeFlex | DataView |
Styles
The css dependencies are as follows, note that you may change the theme with another one of your choice. If you are using a bundler such as webpack with a css loader you may import them to your main application component.
primevue/resources/themes/saga-blue/theme.css //theme
primevue/resources/primevue.min.css //core css
primeicons/primeicons.css //iconsQuickstart
An example application based on vue-cli is available at GitHub.

