You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On production build of my recent app, it seems to take too much time (~5s) to SSR every page.
Some pages does not fetch any data, so I wondered if NuxtUI or TailwindCSS were responsible for that.
(Lighthouse score was very fine, by the way)
The app had neither dependencies of tailwindcss nor @tailwindcss/vite in package.json, so I installed them to try to improve first show speed.
Surprisingly, it worked and showed quickly (~1s). The problem now fixed.
It is friendly for developers that NuxtUI requires TailwindCSS packages because it contains the dependencies in it.
However, I don't think that the capability of NuxtUI is fully delivered without @tailwindcss/vite.
I wish some internal implementation around this problem would be identified to get refined. Thank you.
Here is the app before/after installing tailwindcss and @tailwindcss/vite (excuse me it's Japanese only):
This seems weird as @nuxt/ui already has tailwindcss and @tailwindcss/vite as dependencies. Your project would not work if those dependencies weren't installed.
Maybe the difference is you installed a newer version of tailwindcss than the one in your lockfile. Tailwind CSS is always improving so this might be it.
I detected that the loading speed on my app has not improved so much.
I checked other configuration around framework or network. Thank you for cooperation.
Description
I appreciate new version 3 of NuxtUI very much.
On production build of my recent app, it seems to take too much time (~5s) to SSR every page.
Some pages does not fetch any data, so I wondered if NuxtUI or TailwindCSS were responsible for that.
(Lighthouse score was very fine, by the way)
The app had neither dependencies of
tailwindcss
nor@tailwindcss/vite
in package.json, so I installed them to try to improve first show speed.Surprisingly, it worked and showed quickly (~1s). The problem now fixed.
It is friendly for developers that NuxtUI requires TailwindCSS packages because it contains the dependencies in it.
However, I don't think that the capability of NuxtUI is fully delivered without
@tailwindcss/vite
.I wish some internal implementation around this problem would be identified to get refined. Thank you.
Here is the app before/after installing
tailwindcss
and@tailwindcss/vite
(excuse me it's Japanese only):The text was updated successfully, but these errors were encountered: