Skip to content

@layer utilities is used but no matching @tailwind utilities directive is present. #5934

Answered by adamwathan
dgrigg asked this question in Help
Discussion options

You must be logged in to vote

Hey! This will work as long as you include postcss-import in your plugin list to ensure that the CSS file is properly imported at build-time. Make sure it's the first plugin:

https://tailwindcss.com/docs/using-with-preprocessors#build-time-imports

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
3 replies
@LeoniePhiline
Comment options

@yasnaderi
Comment options

@Webbrother
Comment options

Answer selected by dgrigg
Comment options

You must be logged in to vote
1 reply
@tisuchi
Comment options

Comment options

You must be logged in to vote
4 replies
@StasNemy
Comment options

@mcorrig4
Comment options

@deviprsd
Comment options

@Ashish-0704
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
Converted from issue

This discussion was converted from issue #5930 on October 29, 2021 20:53.