PrimeVue is a rich set of open source native components for Vue.
PrimeVue is available at npm, if you have an existing application run the following commands to download PrimeVue and PrimeIcons to your project.
Path of each component is available at the "import" section of a component documentation.
In the next step, register the component with the tag name you'd like to use.
Majority of PrimeVue components (95%) are native and there are some exceptions having 3rd party dependencies such as Google Maps for GMap.
In addition, components require PrimeIcons library for icons.
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 and MegaMenu components. |
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.
An example application based on vue-cli is available at github.