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
link tag to stylesheet in nested folder not working #884
Comments
Remove the leading <link rel="stylesheet" href="/style/style.css" /> |
Thanks for the answer. Unfortunately, this also doesn't work. When I open
Intuitively, this looks suspicious to me:
Not sure what the second path is for, but the |
Ah darn, sorry. I thought I remembered some issue like that on Windows, though perhaps I'm misremembering (or that's just no longer an issue). Apologies for that. Looks like we're letting it slip through as a non-posix path. The |
Describe the bug
Link tags in the
index.html
file that point to a CSS file in a nested folder aren't included when starting the app:To Reproduce
Steps to reproduce the behavior:
npm install
npm start
Expected behavior
The background of the page should be green due to this CSS rule in the
public/style/style.css
rule:Instead, the background is white because the stylesheet is not loaded. There are no errors on the browser or node console.
Bug occurs with:
wmr
orwmr start
(development)wmr build
(production)wmr serve
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: