fylzero's avatar
Level 67

Possible to get @apply working in Vue components with Tailwind + Vue 3?

I've made a few attempts to get this to work but I'm wondering if anyone has been able to get postcss-loader or whatever to work with Vue components and Tailwind in the latest Laravel 8 + Inertia + Jetstream stack?

Let me know what I'm missing / if this is currently possible. Thanks!

I've tried adding lang="postcss" and installing postcss-loader and requiring that in Webpack config to no avail.

0 likes
1 reply
kotas's avatar
kotas
Best Answer
Level 5

From curiosity,

what are you trying to achieve?

Maybe I misunderstood, but, do you really want to use @apply inside component?

Please or to participate in this conversation.