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
|
2024-06-12 22:42:21 +00:00
|
|
|
<a href="https://www.npmjs.com/package/@primevue/nuxt-module" target="_blank" rel="noopener noreferrer">nuxt-primevue</a> module.
|
2023-12-26 18:28:43 +00:00
|
|
|
</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
|
2024-07-03 10:06:06 +00:00
|
|
|
npm install primevue
|
|
|
|
npm install --save-dev @primevue/nuxt-module
|
2023-10-15 20:57:44 +00:00
|
|
|
|
|
|
|
# Using yarn
|
2024-07-03 10:06:06 +00:00
|
|
|
yarn add primevue
|
|
|
|
yarn add --dev @primevue/nuxt-module
|
2023-10-15 20:57:44 +00:00
|
|
|
|
|
|
|
# Using pnpm
|
2024-07-03 10:06:06 +00:00
|
|
|
pnpm add primevue
|
|
|
|
pnpm add -D @primevue/nuxt-module
|
2023-10-15 20:57:44 +00:00
|
|
|
`
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|