Open akc42 opened 7 years ago
My error the base changes
Actually I think I am over confusing myself
with the base in the reference to ../bower_components/...
should be translated as '/src/../bower_components/...which is the same as without the base of
../bower_components/....`
so the addition of the <base>
tag should't effect where the bower_components
directory is supposed to be.
I have the following project structure
inside the
client/src
directory I have the followingindex.html
With this file open the
<script src
and<link rel=
both have squiggly red lines under the urls (and thedocument.html
line doesn't). Hovering over the lines its giving me a file of${project-root}/bower_components ....
not foundif I remove the
<base href
line the red lines disappearAt one level up (ie in the
client
directory) I have anindex.html
with a<base href="/">
in it. That doesn't have any problems with the relative hrefs to bower_components.All the other files in the
client/src
directory have no problems with the reference to../bower_components