-
-
Notifications
You must be signed in to change notification settings - Fork 387
can't get my css served in a react universal app! #120
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
@elhariri can you create minimum reproducible test repo? |
@evilebottnawi i'm new to development in general and i'm afraid that it would take me a lot of time to create it (i'm creating for free a free educational wwebsite for a non lucratif association and it's really taking me a lot of time) so is it ok if i just copied my server, my client and server webpack config and my main react component files if it's ok i'll post them as soon as possible i don't have my laptop with me. |
@elhariri feel free to ping me when you done this. Thanks minimum reproducible test repo it is hard to detect where problem happens |
@evilebottnawi thanks for your support this the url https://github.com/elhariri/react-universal-v1 |
@elhariri i can't find html file in your repo 😕 |
@evilebottnawi i servit directly from the server with the renderFullPage function, if it's not a good practice please guide me |
@elhariri i can't know it is good solution for your use case or not, please use for this |
Oooh sorry, and thank you for your reply :). |
@elhariri feel free to feedback if you some questions |
Hi, i'm trying to build an isomorphic react application, i've added mini-css-extract-plugin in my client webpack config. in my server i'm using renderToString and pushing the string in my html like this :
the build is compiled perfectly but i can't get css on my page (the css file is imported in my root component app)
The text was updated successfully, but these errors were encountered: