primevue-mirror/apps/showcase/doc/forms/DownloadDoc.vue

28 lines
485 B
Vue
Raw Normal View History

2024-10-31 07:56:10 +00:00
<template>
<DocSectionText v-bind="$attrs">
<p>Forms add-on is available for download on npm registry.</p>
</DocSectionText>
<DocSectionCode :code="code" hideToggleCode hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
basic: `
# Using npm
npm install @primevue/forms
# Using yarn
yarn add @primevue/forms
# Using pnpm
pnpm add @primevue/forms
`
}
};
}
};
</script>