primevue-mirror/doc/nuxt/DownloadDoc.vue

34 lines
800 B
Vue
Raw Normal View History

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>
<DocSectionCode :code="code" hideToggleCode hideCodeSandbox hideStackBlitz />
</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>