npm intall
for all the dependencies.
For development npm run build
and it can be deployed with npm run start
using lite-server and browsersync.
For production npm run build_prod
and it can be deployed with npm run serve
using simple-angular-server.
To deploy to the simple server use npm run serve
To make it easier to develop with watchdog support using npm start
make the according changes in the index.html
file.
Using npm run build_prod
and npm run serve
.
Uncomment this.
<script src="dist/bundle.min.js"></script>
Comment this.
<!--
<script>
System.import('app').catch(function(err){ console.error(err); });
</script>
-->
Using npm start
.
Comment this.
<!-- <script src="dist/bundle.min.js"></script> -->
Uncomment this.
<script>
System.import('app').catch(function(err){ console.error(err); });
</script>