From 38e15e864fba919fce2f3453c2e488018f0e8c4d Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Fri, 24 May 2019 14:10:45 +0300 Subject: [PATCH] Doc update --- src/views/setup/Setup.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/setup/Setup.vue b/src/views/setup/Setup.vue index 3ba050bfb..30c802b17 100644 --- a/src/views/setup/Setup.vue +++ b/src/views/setup/Setup.vue @@ -20,13 +20,17 @@ npm install primeicons --save

Path of each component is available at the "import" section of a component documentation.

-{` //import {ComponentName} from 'primevue/{componentname}'; -import {Dialog} from 'primevue/dialog'; -import {Accordion,AccordionTab} from 'primevue/accordion'; -`} +import {Dialog} from 'primevue/dialog'; + +

Register

+

In the next step, register the component with the tag name you'd like to use.

+ +Vue.component('Dialog', Dialog); + +

Dependencies

Majority of PrimeVue components (95%) are native and there are some exceptions having 3rd party dependencies such as Google Maps for GMap.