-
Notifications
You must be signed in to change notification settings - Fork 12k
Angular SSR + Tailwind, ERR_CONTENT_LENGTH_MISMATCH Problem #28832
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
Comments
Thanks for trying out v19 and reporting this issue. Are you using the new SSR routing APIs ( |
Of course, I will add the sample project as soon as possible. |
FirstAngular19Project.zip |
You can find a repro here if you need it as well: #28893 Mine is a lot simpler (no tailwind), looks like the issue is with a specific style (which is probably also used by tailwind): <style>
div::before {
content: "\2022 \2022 \2022";
}
</style> |
Adjusts the server assets to use the original content length Closes angular#28832
Adjusts the server assets to use the original content length Closes #28832
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
Yes
Description
Greetings to everyone,
First of all, I would like to thank the entire Angular team for giving us the opportunity to provide development in the development section of our express api directly in the server.ts file for Angular 19.
I apologize in advance for my low-intermediate level English :)
When I add Tailwind plugin to my project, I do not encounter any problems in the development environment.
But when I got the build and
npm run serve:ssr:FirstAngular19Project
When I run the command, I go to localhost:4000 and I get the following error and the page loads very late.
Can you please take care of this issue? Thanks in advance, good work.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
app.component.ts
tailwind.config.js
styles.css
The text was updated successfully, but these errors were encountered: