Nuxt/examples/tailwindcss-purgecss/components/MyComponent.vue

8 lines
170 B
Vue

<template>
<div>
<button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">
My Component Button
</button>
</div>
</template>