lazarv / react-server

The easiest way to build React apps with server-side rendering
https://react-server.dev
MIT License
118 stars 6 forks source link

css and prod start issues on Windows #8

Closed slajher closed 4 months ago

slajher commented 4 months ago

I tried to create an app using the todo example on Windows and I found two issues: first, the CSS import didn't work, I followed the todo app description, created an index.css file, and imported the tailwind files, but the tailwind didn't load. image

the second one is the prod start, the run in dev mode is working well, but the react-server start throws this issue:

image

lazarv commented 4 months ago

Hi @slajher! You're right, the framework only supported MacOS/Linux. I need to run some more testing, but you can check out this branch for Windows support: https://github.com/lazarv/react-server/commits/windows/

Please, give it a go and report any further issue you experience as my main development platform is MacOS. Thanks!

lazarv commented 4 months ago

@slajher I had no issues with the Windows specific changes on MacOS, so the new version is now available on npm already! No need to use the Windows support branch directly, just update @lazarv/react-server and @lazarv/react-server-router to the latest version.

slajher commented 4 months ago

@lazarv everything works fine now, thanks for the quick fixes!

github-actions[bot] commented 2 months ago

This issue has been locked since it has been closed for more than 30 days.

If you have found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest version of @lazarv/react-server. If you have any other comments you should create a new discussion.