I am very new to Angular 2 and just created my very first demo angular application.
to allow it to be accessible from anywhere i want to deploy it on server.
as per instruction i have created build as well ( dist ) using
ng build --prod
I already have shared server for my php project with Apache install on it.
So i tried to upload there. After deployment when i tries to access that url my app gets break and console showing this errors:
GET http://www.example.com/styles.d41d8cd98f00b204e980.bundle.css net::ERR_ABORTED
www.example.com/:13 GET http://www.example.com/inline.7c167ae93970955c5261.bundle.js net::ERR_ABORTED
www.example.com/:13 GET http://www.example.com/polyfills.5c847b24df1f0cb11561.bundle.js net::ERR_ABORTED
www.example.com/:13 GET http://www.example.com/main.dbcfef8941682469b50c.bundle.js net::ERR_ABORTED
www.example.com/:13 GET http://www.example.com/vendor.c769f33e138d82fd4650.bundle.js net::ERR_ABORTED
www.example.com/:13 GET http://www.example.com/main.dbcfef8941682469b50c.bundle.js 404 (Not Found)
Is it not possible to to deploy angular and php on same server.
if yes the guidelines are highly helpfull. thank you
<base href><base href="./">