primevue-mirror/doc/installation/DownloadDoc.vue

28 lines
564 B
Vue
Raw Normal View History

2023-02-28 08:29:30 +00:00
<template>
<DocSectionText v-bind="$attrs">
2023-10-15 20:57:44 +00:00
<p>PrimeVue is available for download on <a href="https://www.npmjs.com/package/primevue">npm Registry</a>.</p>
2023-02-28 08:29:30 +00:00
</DocSectionText>
2023-10-15 20:57:44 +00:00
<DocSectionCode :code="code" hideToggleCode hideCodeSandbox hideStackBlitz />
2023-02-28 08:29:30 +00:00
</template>
<script>
export default {
data() {
return {
code: {
2023-09-22 12:54:14 +00:00
basic: `
2023-10-15 20:57:44 +00:00
# Using npm
npm install --save-dev nuxt-primevue
2023-02-28 08:29:30 +00:00
2023-10-15 20:57:44 +00:00
# Using yarn
yarn add --dev nuxt-primevue
# Using pnpm
pnpm add -D nuxt-primevue
2023-09-22 12:54:14 +00:00
`
2023-02-28 08:29:30 +00:00
}
};
}
};
</script>