primevue-mirror/doc/styleclass/ImportDoc.vue

19 lines
401 B
Vue
Raw Normal View History

2023-02-28 08:29:30 +00:00
<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>