34 lines
850 B
Vue
34 lines
850 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-rc.1
|
|
npm install --save-dev nuxt-primevue@4.0.0-rc.1
|
|
|
|
# Using yarn
|
|
yarn add primevue@4.0.0-rc.1
|
|
yarn add --dev nuxt-primevue@4.0.0-rc.1
|
|
|
|
# Using pnpm
|
|
pnpm add primevue@4.0.0-rc.1
|
|
pnpm add -D nuxt-primevue@4.0.0-rc.1
|
|
`
|
|
}
|
|
};
|
|
}
|
|
};
|
|
</script>
|