Tailwindcss2 @apply directive doesn't work inside vue component #3365
Unanswered
ShekhSaifuddin007
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I create a laravel application with jetstream and inertia-vue stack for my new project problem is Tailwindcs version 2 using
postCss
and it doesn't support@apply
directive inside vue components but inside .css file it works fine I don't want that because that css file will load my every page I just want short inline utility classes with@apply
directive but I can't, How Can I achieve that.?inside my vue template
output inside browser like this
webpack.mix.js
webpack.config.js
tailwind version : "^2.0.1",
laravel version : 8.x,
jetstream version : 2.x,
inertiajs version: "^0.8.2"
Beta Was this translation helpful? Give feedback.
All reactions