Skip to content

low performance with tailwind.. #7411

Answered by adamwathan
musen34 asked this question in Help
Discussion options

You must be logged in to vote

Hey! Try this:

// tailwind.config.js
module.exports = {
  experimental: {
    optimizeUniversalDefaults: true
  }
 // ...
}

We wanted to make this the default for v3 but it doesn't play nicely with CSS modules or Vue/Svelte style blocks :/ We always use that option ourselves though.

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@dfallman
Comment options

@miraclebakelaser
Comment options

@dfallman
Comment options

@dfallman
Comment options

@bilogic
Comment options

Answer selected by musen34
Comment options

You must be logged in to vote
1 reply
@alex-jitbit
Comment options

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