-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow Nuxt project build after installing tailwindcss #2558
Comments
First, have you tried removing the Second, after the initial build (which is always slower), how slow are subsequent rebuilds when you save a file? There have been issues in the past with build speed related to the fact that Tailwind uses PostCSS so my recommendation would be to search for that first. For example https://adamwathan.me/journal/2019/01/11/new-website-and-tailwind-performance-hell/ |
Tailwind itself isn't super fast (it generates a lot of CSS) but on it's own it only takes a couple of seconds to build. Webpack can be really slow to parse large CSS files though depending on what features of webpack you are using, and Nuxt might be doing some of this stuff under the hood. Going to close and point you to the discussion here instead: |
With Tailwindcss
Without Tailwindcss
config
HELP ME |
对于无法升级到最新版本tailwind的可以通过webpack插件解决这个问题: |
I solved the problem by removing the
|
Could not found any reference to this issue.
My Nuxt project build time dramatically increased after TailwindCSS install using buldModules:
Without Tailwind
With Tailwind
Tailwind config file contents:
What can be the cause?
The text was updated successfully, but these errors were encountered: