Changing build path to / to ./ when building application.

Go to project and edit index.html from <base href="/"> to <base href="./">  

My_PROJECT/src/index.html

or

In package.json set flag --base-href to relative path:

"script": {
    "build": "ng build --base-href ./"
}



Comments

Popular posts from this blog

How to run react project after cloning from git repo

How to start React,Angular and Node Apps