primevue-mirror/doc/styleclass/ImportDoc.vue

20 lines
406 B
Vue

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