2023-10-15 20:57:44 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs">
|
2023-12-26 18:28:43 +00:00
|
|
|
<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>
|
2023-10-15 20:57:44 +00:00
|
|
|
</DocSectionText>
|
2024-01-30 08:16:35 +00:00
|
|
|
<DocSectionCode :code="code" hideToggleCode hideStackBlitz />
|
2023-10-15 20:57:44 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
|
|
|
basic: `
|
|
|
|
# Using npm
|
2023-12-26 18:28:43 +00:00
|
|
|
npm install primevue
|
2023-10-15 20:57:44 +00:00
|
|
|
npm install --save-dev nuxt-primevue
|
|
|
|
|
|
|
|
# Using yarn
|
2023-12-26 18:28:43 +00:00
|
|
|
yarn add primevue
|
2023-10-15 20:57:44 +00:00
|
|
|
yarn add --dev nuxt-primevue
|
|
|
|
|
|
|
|
# Using pnpm
|
2023-12-26 18:28:43 +00:00
|
|
|
pnpm add primevue
|
2023-10-15 20:57:44 +00:00
|
|
|
pnpm add -D nuxt-primevue
|
|
|
|
`
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|