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
The href attribute of <link> tags is an absolute url like href=/path/to/file. As a result those files aren't loaded when opening the build result (public/index.html) locally during development. This is fixed by making the urls relative like href=./path/to/file.
I don't know if making the urls relative during building would lead to unwanted effects in production. If not, it might be a nice quality of life improvent; you can check locally whether your build output behaves as expected.
(Personally, when opening the build output, at first I thought I did something wrong because the css styling didn't load but it was just this detail)
The text was updated successfully, but these errors were encountered:
The href attribute of
<link>
tags is an absolute url likehref=/path/to/file
. As a result those files aren't loaded when opening the build result (public/index.html
) locally during development. This is fixed by making the urls relative likehref=./path/to/file
.I don't know if making the urls relative during building would lead to unwanted effects in production. If not, it might be a nice quality of life improvent; you can check locally whether your build output behaves as expected.
(Personally, when opening the build output, at first I thought I did something wrong because the css styling didn't load but it was just this detail)
The text was updated successfully, but these errors were encountered: