I've just used Yeoman to create an Angular project that looks great when I run grunt serve
. But then I decided to view it by running http-server
, and the page gets displayed without the formatting and without the images. Does anyone know why that is and if I'll run into this issue when I push it up to my web hosting server?
I discovered that I had to run grunt to build the project which fixes the references and places a distribution uglified version of the project in a dist folder. This ran just fine on my other server.