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
CSS not on the HTML #579
Comments
Can you confirm with Nuxt 3.0 stable please? |
Hi @Atinux, Thanks for getting on this. The issue continues with stable 3.0. |
You can also preview the same for any 3.0.0 app in production. :) Here's the Content Wind link - https://content-wind.nuxt.space/ (see Networks tab of devtools) |
Oh I see what you mean, this choice is by design indeed: nuxt/framework#8666 This reduces the HTML size and allow caching for the CSS entry file as well. |
Thank you very much! That answers it, and I'll close the issue! |
Version
@nuxtjs/tailwindcss: 6.1.3
nuxt: 3.0.0(-rc.13 onwards)
Reproduction Link
https://stackblitz.com/edit/nuxt-starter-rnulzp
Steps to reproduce
npm i -D nuxt@3.0.0-rc.12 @nuxtjs/tailwindcss@6.1.3
(yarn
resolved faster for me)nuxt.config.ts
to remove the nuxt-config import, changebuildModules
tomodules
, and paste the following inapp.vue
npm run build && npm run start
with devtools open (and see networks tab) and look for the HTML. This is the output:npm i -D nuxt@3.0.0-rc.13
(update to RC-13 or higher) and then runnpm run build && npm run start
again with devtools open and look for the HTML. This is the output:Description
I'm not sure of the API changes in Nuxt, but it seems that the CSS is no longer inline with the HTML which I wouldn't prefer. Is this by design or perhaps needs updating?
The text was updated successfully, but these errors were encountered: