primevue-mirror/doc/dataview/PrimeFlexDoc.vue

23 lines
632 B
Vue
Raw Normal View History

2023-02-28 08:29:30 +00:00
<template>
<DocSectionText v-bind="$attrs">
<p>DataView depends on PrimeFlex Grid functionality so it needs to be installed and imported.</p>
</DocSectionText>
<DocSectionCode :code="code1" hideToggleCode import hideCodeSandbox hideStackBlitz />
<DocSectionCode :code="code2" hideToggleCode import hideCodeSandbox hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code1: {
basic: `npm install primeflex`
},
code2: {
basic: `import 'primeflex/primeflex.css';`
}
};
}
};
</script>