-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
I'm facing issues with CSS after I run build. #8375
Comments
Could you expand more on what you mean by "ruins the css?" |
You provided Interesting things to look at.
I’ll get back to you.
… On Jan 30, 2020, at 8:16 AM, Bee Ellis ***@***.***> wrote:
Could you expand more on what you mean by "ruins the css?"
Are any style-sheets loading into your application?
What directory are you storing the style-sheets?
How are you importing the style-sheets into the html file?
Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I'd also highly recommend making sure you've gone through the article here on adding a stylesheet to your project, if you haven't already. |
So im importing a css file inside the component like this : import './Item.css'; Is it okay ? whats the better option ? |
I removed this file and still it fucks up when rendering from the server. |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue. |
Describe the bug:
CSS Works fine in local but it ruins the css after i run build to run via the nginx in production.
I see the same css issues if i run with python server on my local computer. So there's some issue in the way build is being created.
(Write your answer here.)
Did you try recovering your dependencies?
What is that ?
(Write your answer here.)
Which terms did you search for in User Guide?
(Write your answer here if relevant.)
Environment
Mac : high sierra .
(paste the output of the command here.)
Steps to reproduce
(Write your steps here:)
Expected behavior
(Write what you thought would happen.)
Actual behavior
(Write what happened. Please add screenshots!)
Reproducible demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
The text was updated successfully, but these errors were encountered: