21 lines
363 B
Vue
21 lines
363 B
Vue
|
<template>
|
||
|
<DocSectionText v-bind="$attrs" />
|
||
|
<DocSectionCode :code="code" hideToggleCode importCode hideStackBlitz />
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
code: {
|
||
|
basic: `
|
||
|
import Tooltip from 'primevue/tooltip';
|
||
|
|
||
|
app.directive('tooltip', Tooltip);
|
||
|
`
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
};
|
||
|
</script>
|