When trying to deploy my Angular2 app. I need to test if build works fine.
I get empty page when trying to do so !
Is dist/index.html can be used to directly open the app using browser ?
When trying to deploy my Angular2 app. I need to test if build works fine.
I get empty page when trying to do so !
Is dist/index.html can be used to directly open the app using browser ?
You have to deploy the content of your dist/ dir to a web server (think Caddy, nginx, Apache, etc.).
Then you can test the app got built ok.
file://. There also might be problems related to the paths in app.