primevue-mirror/doc/styleclass/ImportDoc.vue

19 lines
401 B
Vue

<template>
<DocSectionText v-bind="$attrs" />
<DocSectionCode :code="code" hideToggleCode import hideCodeSandbox hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
basic: `import StyleClass from 'primevue/styleclass';
app.directive('styleclass', StyleClass);`
}
};
}
};
</script>