primevue-mirror/doc/nuxt/UsageDoc.vue

24 lines
697 B
Vue
Raw Normal View History

2023-12-26 18:28:43 +00:00
<template>
<DocSectionText v-bind="$attrs">
<p>The nuxt-primevue module registers the components automatically so you may start using them instantly. See the <NuxtLink to="/nuxt/#components">Components</NuxtLink> section to customize how the components are loaded and named.</p>
</DocSectionText>
<div class="card flex justify-content-center">
<Button label="Check" icon="pi pi-check" />
</div>
2024-01-30 08:16:35 +00:00
<DocSectionCode :code="code" hideToggleCode hideStackBlitz />
2023-12-26 18:28:43 +00:00
</template>
<script>
export default {
data() {
return {
code: {
basic: `
<Button label="Check" icon="pi pi-check" />
`
}
};
}
};
</script>