samedi 8 mai 2021

The was not working in index.html

Whenever I am using <base href="./"> in my index.html file it was showing the following error

Error: The base href in "web/index.html" must be absolute (i.e. start with a "/"), but found: `<base href="./">`.

after rectifying the error and using <base href="/"> the content was not rendering on the screen later I also remove the <base> tag but it doesn't work.
How to specify the current directory in <base> tag without proving the full relative path?




Aucun commentaire:

Enregistrer un commentaire