Doc update

pull/12/head
cagataycivici 2019-05-24 14:10:45 +03:00
parent f7916d1779
commit 38e15e864f
1 changed files with 8 additions and 4 deletions

View File

@ -20,13 +20,17 @@ npm install primeicons --save
<p>Path of each component is available at the "import" section of a component documentation.</p>
<CodeHighlight lang="js">
{`
//import {ComponentName} from 'primevue/{componentname}';
import {Dialog} from 'primevue/dialog';
import {Accordion,AccordionTab} from 'primevue/accordion';
`}
import {Dialog} from 'primevue/dialog';
</CodeHighlight>
<h3>Register</h3>
<p>In the next step, register the component with the tag name you'd like to use.</p>
<CodeHighlight lang="js">
Vue.component('Dialog', Dialog);
</CodeHighlight>
<h3>Dependencies</h3>
<p>Majority of PrimeVue components (95%) are native and there are some exceptions having 3rd party dependencies such as Google Maps for GMap.</p>