primevue-mirror/doc/vite/DownloadDoc.vue

28 lines
552 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>.</p>
</DocSectionText>
<DocSectionCode :code="code" hideToggleCode hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
basic: `
# Using npm
npm install primevue@4.0.0-beta.3
# Using yarn
yarn add primevue@4.0.0-beta.3
# Using pnpm
pnpm add primevue@4.0.0-beta.3
`
}
};
}
};
</script>