primevue-mirror/doc/nuxt/DownloadDoc.vue

34 lines
862 B
Vue

<template>
<DocSectionText v-bind="$attrs">
<p>
PrimeVue is available for download on <a href="https://www.npmjs.com/package/primevue">npm Registry</a> along with the official
<a href="https://www.npmjs.com/package/nuxt-primevue" target="_blank" rel="noopener noreferrer">nuxt-primevue</a> module.
</p>
</DocSectionText>
<DocSectionCode :code="code" hideToggleCode hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
basic: `
# Using npm
npm install primevue@4.0.0-beta.4
npm install --save-dev nuxt-primevue@4.0.0-beta.4
# Using yarn
yarn add primevue@4.0.0-beta.4
yarn add --dev nuxt-primevue@4.0.0-beta.4
# Using pnpm
pnpm add primevue@4.0.0-beta.4
pnpm add -D nuxt-primevue@4.0.0-beta.4
`
}
};
}
};
</script>