You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Somewhere in the configuration there is a wrong setting.
When you create a clean new react project with Yeoman or with dotnet new react and then running the applicaton you will get a 404 for the site.css File.
To run your app locally in development (without first running Webpack to produce a production build), you must have the app in development mode, otherwise various things don't work. Not sure if you were following a tutorial or something, but please have a look at this post and its Option 1: Running via the Command Line, or for more general info, see https://docs.microsoft.com/en-us/aspnet/core/fundamentals/environments
Activity
SteveSandersonMS commentedon Apr 7, 2017
If you check your
_Layout.cshtmlfile, you'll see that the React template only referencessite.csswhen it's in staging or production modes:To run your app locally in development (without first running Webpack to produce a production build), you must have the app in development mode, otherwise various things don't work. Not sure if you were following a tutorial or something, but please have a look at this post and its Option 1: Running via the Command Line, or for more general info, see https://docs.microsoft.com/en-us/aspnet/core/fundamentals/environments