New Nuxt docs

This commit is contained in:
Cagatay Civici 2023-10-15 23:57:44 +03:00
parent 6798b17cf4
commit 18576538e7
15 changed files with 452 additions and 61 deletions

29
doc/nuxt/DownloadDoc.vue Normal file
View file

@ -0,0 +1,29 @@
<template>
<DocSectionText v-bind="$attrs">
<p>
The <a href="https://www.npmjs.com/package/nuxt-primevue" target="_blank" rel="noopener noreferrer">nuxt-prime</a> package is the official module by PrimeTek.
</p>
</DocSectionText>
<DocSectionCode :code="code" hideToggleCode hideCodeSandbox hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
basic: `
# Using npm
npm install --save-dev nuxt-primevue
# Using yarn
yarn add --dev nuxt-primevue
# Using pnpm
pnpm add -D nuxt-primevue
`
}
};
}
};
</script>