### Import PrimeVue for Basic Setup Source: https://github.com/primefaces/primevue/blob/master/apps/showcase/server/assets/llms/pages/configuration.md Install the PrimeVue plugin without any specific configuration options for a basic setup. ```vue import PrimeVue from 'primevue/config'; const app = createApp(App); app.use(PrimeVue); ``` -------------------------------- ### Composition API Setup for Button Examples Source: https://github.com/primefaces/primevue/blob/master/apps/showcase/server/assets/llms/components/button.md Basic Composition API setup for Vue.js, including importing 'ref' and defining reactive variables for component props like 'size'. ```vue import { ref } from 'vue'; const size = ref('normal'); const sizeOptions = ref([ { label: 'Small', value: 'small' }, { label: 'Normal', value: 'normal' }, { label: 'Large', value: 'large' } ]); ``` -------------------------------- ### Use Composition API Source: https://github.com/primefaces/primevue/blob/master/apps/showcase/server/assets/llms/components/orderlist.md Example demonstrating data fetching and component usage within a Vue Composition API setup. ```vue ``` -------------------------------- ### Dialog Composition API Example with Positioning Source: https://github.com/primefaces/primevue/blob/master/apps/showcase/server/assets/llms/llms-full.txt A Composition API example demonstrating how to manage dialog visibility and position using Vue's ref. Ensure 'vue' and 'primevue' are installed and configured. ```vue ``` -------------------------------- ### Panel Component - Composition API Example Source: https://github.com/primefaces/primevue/blob/master/apps/showcase/server/assets/llms/llms-full.txt Provides an example of using the Panel component within a Vue Composition API setup. ```APIDOC ## Panel Component - Composition API Example ### Description This example illustrates how to integrate the Panel component into a Vue application using the Composition API. It includes the basic structure for a component that utilizes the Panel. ### Method N/A (Component Usage) ### Endpoint N/A (Component Usage) ### Parameters #### Path Parameters N/A #### Query Parameters N/A #### Request Body N/A ### Request Example ```vue ``` -------------------------------- ### DataTable Example Source: https://github.com/primefaces/primevue/blob/master/apps/showcase/server/assets/llms/components/deferredcontent.md A practical example demonstrating how to defer loading a DataTable until it becomes visible in the viewport. ```APIDOC ## DataTable A practical example that triggers a fetch when the table becomes visible in viewport. ```vue ``` ``` -------------------------------- ### Composition API Float Label Variants Example Source: https://github.com/primefaces/primevue/blob/master/apps/showcase/server/assets/llms/components/floatlabel.md Example of using FloatLabel with 'in' and 'on' variants in a Composition API setup. ```vue
``` -------------------------------- ### CascadeSelect Composition API Example Source: https://github.com/primefaces/primevue/blob/master/apps/showcase/server/assets/llms/llms-full.txt This example demonstrates the CascadeSelect component within a Vue Composition API setup, including data initialization. ```vue ``` -------------------------------- ### VerticalBarDoc - Composition API Example Source: https://github.com/primefaces/primevue/blob/master/apps/showcase/server/assets/llms/components/chart.md Provides a detailed example of using the Chart component with Vue.js Composition API, including data and options setup. ```APIDOC ## VerticalBarDoc - Composition API Example ### Description This example shows how to use the Chart component with Vue.js Composition API. It includes setting up reactive data and options for a bar chart. ### Code Example ```vue ``` ``` -------------------------------- ### Initialize Vue Application with createApp Source: https://github.com/primefaces/primevue/blob/master/apps/showcase/server/assets/llms/pages/cdn.md Basic structure for mounting a Vue application using the global CDN build. ```vue