Add vite and nuxt docs to get started

This commit is contained in:
Cagatay Civici 2023-12-26 21:28:43 +03:00
parent eaf337cd56
commit a2ce2d0f72
17 changed files with 522 additions and 90 deletions

23
doc/nuxt/UsageDoc.vue Normal file
View file

@ -0,0 +1,23 @@
<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>
<DocSectionCode :code="code" hideToggleCode hideCodeSandbox hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
basic: `
<Button label="Check" icon="pi pi-check" />
`
}
};
}
};
</script>