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>
|
2023-02-28 17:40:48 +00:00
|
|
|
<DocSectionCode :code="code1" hideToggleCode importCode hideCodeSandbox hideStackBlitz />
|
|
|
|
<DocSectionCode :code="code2" hideToggleCode importCode hideCodeSandbox hideStackBlitz />
|
2023-02-28 08:29:30 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code1: {
|
2023-09-26 12:14:16 +00:00
|
|
|
basic: `
|
|
|
|
npm install primeflex
|
|
|
|
`
|
2023-02-28 08:29:30 +00:00
|
|
|
},
|
|
|
|
code2: {
|
2023-10-20 21:29:12 +00:00
|
|
|
basic: "\nimport 'primeflex/primeflex.css'\n"
|
2023-02-28 08:29:30 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|