primevue-mirror/doc/vite/DownloadDoc.vue

28 lines
552 B
Vue
Raw Normal View History

2023-12-26 18:28:43 +00:00
<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>
2024-01-30 08:16:35 +00:00
<DocSectionCode :code="code" hideToggleCode hideStackBlitz />
2023-12-26 18:28:43 +00:00
</template>
<script>
export default {
data() {
return {
code: {
basic: `
# Using npm
2024-04-02 14:50:57 +00:00
npm install primevue@4.0.0-beta.1
2023-12-26 18:28:43 +00:00
# Using yarn
2024-04-02 14:50:57 +00:00
yarn add primevue@4.0.0-beta.1
2023-12-26 18:28:43 +00:00
# Using pnpm
2024-04-02 14:50:57 +00:00
pnpm add primevue@4.0.0-beta.1
2023-12-26 18:28:43 +00:00
`
}
};
}
};
</script>