Skip to content

@aplly not working with Laravel Mix 6, PostCSS 8 and Vue 2 #3555

@vb-oiko

Description

@vb-oiko

I'm a big fan of TailwindCSS and would like first of all to thank the Tailwind team for your hard work!

Describe the problem:

I was working with PostCSS 7 and compatibility build of Tailwind 2 when I decided to upgrade to PostCSS 8.
When I did that @apply stopped working.
I created a simple example project with Laravel Mix 6, PostCSS 8 and Vue from scratch to check myself if there is something wrong with my actual project and to make the reproduction of the bug more demonstrative. The bug is still there.

2021-02-09_13-01

Link to a minimal reproduction:

https://github.com/vb-oiko/example-laravel-vue-tailwind/blob/main/resources/js/views/app.vue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions