Skip to content

Error: missing '}' #2915

Answered by simonswiss
Drillan767 asked this question in Help
Nov 26, 2020 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hello!

I am pretty sure this is because you're trying to have @import statements after your Tailwind directives. Perhaps you should try change your directives to this:

- @tailwind base;
+ @import "tailwindcss/base";
- @tailwind components;
+ @import "tailwindcss/components";
- @tailwind utilities;
+ @import "tailwindcss/utilities";

You'll also want to make sure you're using the postcss-import PostCSS plugin.

You should definitely not have to do the @import "~tailwindcss/dist/tailwind.min.css" line after your three @taliwind directives.

note: @tailwind works but I still need to import the scss, not sure if normal

What do you mean by that? It sounds like if it'snot working if you're tryin…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by Drillan767
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants