Netlify Dev works, but not when deployed React Website is my website. I am using an template from envato in React. Compiling in the netlify CLI. When I run netlify dev it works perfectly same as npm run dev. But in deployment I think it does not find all css files? If I remove the loading screen half of the elements are not where they should be. I have no clue what I am doing wrong. Any help is greatly appreciated. I have no compile warnings or errors as far as I know.

The site appears to be working fine. It shows unstyled elements for a second, but loads the styles immediately.

You might be seeing this issue: Flash of unstyled content - Wikipedia