primevue-mirror/doc/styleclass/ImportDoc.vue

20 lines
406 B
Vue
Raw Normal View History

2023-02-28 08:29:30 +00:00
<template>
<DocSectionText v-bind="$attrs" />
2023-02-28 17:40:48 +00:00
<DocSectionCode :code="code" hideToggleCode importCode hideCodeSandbox hideStackBlitz />
2023-02-28 08:29:30 +00:00
</template>
<script>
export default {
data() {
return {
code: {
2023-09-22 12:54:14 +00:00
basic: `
import StyleClass from 'primevue/styleclass';
2023-02-28 08:29:30 +00:00
app.directive('styleclass', StyleClass);`
}
};
}
};
</script>