primevue-mirror/doc/tailwind/ExampleDoc.vue

19 lines
614 B
Vue
Raw Normal View History

2023-07-09 21:13:49 +00:00
<template>
<DocSectionText v-bind="$attrs">
<p>As an example, Tailwind is used to style the <i>Button</i> and <i>Dialog</i> components of PrimeVue.</p>
</DocSectionText>
<div class="flex justify-content-center">
2023-07-10 16:20:47 +00:00
<iframe class="w-full h-full" style="border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 2px; min-height: 800px" src="https://codesandbox.io/p/sandbox/unstyled-primevue-dialog-with-tailwind-css-2jp96n?embed=1" allowfullscreen></iframe>
2023-07-09 21:13:49 +00:00
</div>
</template>
<script>
export default {
data() {
return {
visible: false
};
}
};
</script>