primevue-mirror/doc/datatable/ImportDoc.vue

18 lines
383 B
Vue

<template>
<DocSectionText v-bind="$attrs" />
<DocSectionCode :code="code" hideToggleCode importCode hideCodeSandbox hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
basic: `import DataTable from 'primevue/datatable';
import Column from 'primevue/column';`
}
};
}
};
</script>