Go to file
Cagatay Civici 97ff13186d
Merge pull request #203 from Syncbak-Git/master
Added Tooltip.d.ts
2020-02-27 10:54:04 +03:00
exports Fixed #185 - Could not find module './components/row/Row' 2020-02-06 15:04:44 +03:00
public Redo gtag impl 2020-02-27 10:47:33 +03:00
src Merge pull request #203 from Syncbak-Git/master 2020-02-27 10:54:04 +03:00
tests/unit Initialized repo with the sample project from vue-cli 2018-12-04 10:08:40 +03:00
.babelrc-lib babel config 2019-05-31 00:21:59 +03:00
.browserslistrc Initialized repo with the sample project from vue-cli 2018-12-04 10:08:40 +03:00
.editorconfig Added .editorconfig file 2020-01-20 13:54:43 +03:00
.eslintrc.js Removed spaces with lint 2019-10-01 16:00:26 +03:00
.gitignore build css script 2019-05-25 16:49:00 +03:00
.npmignore Ignore .babelrc-lib 2019-05-31 11:45:50 +03:00
CHANGELOG.md Update Changelog.md 2020-02-07 11:44:48 +03:00
LICENSE.md Initiated Chart Component 2019-01-01 21:53:12 +03:00
README.md Readme update 2020-01-21 10:06:29 +03:00
babel.config.js Initialized repo with the sample project from vue-cli 2018-12-04 10:08:40 +03:00
build-lib.js Removed spaces with lint 2019-10-01 16:00:26 +03:00
gulpfile.js Removed spaces with lint 2019-10-01 16:00:26 +03:00
package.json Redo gtag impl 2020-02-27 10:47:33 +03:00
postcss.config.js Initialized repo with the sample project from vue-cli 2018-12-04 10:08:40 +03:00
vue.config.js Removed spaces with lint 2019-10-01 16:00:26 +03:00

README.md

License: MIT npm version Join the chat at https://gitter.im/primefaces/primevue

PrimeVue

PrimeVue Logo

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 --save

Module 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/nova-light/theme.css      //theme
primevue/resources/primevue.min.css                 //core css
primeicons/primeicons.css                           //icons

Quickstart

An example application based on vue-cli is available at GitHub.