We have completed and published out first site! Very exciting!
One page on our site is an Angular 4 application that allows users to query our API and review product features. We have it working with the following setup:
There is a custom HTML Element with the Angular
<app-root></app-root> code inserted. Then in the page settings, under custom code I have added 3
<script> tags that load the Angular 4 runtime, polyfill, and site code. It all works perfectly.
There is a continuous integration task that builds/tests/publishes the scripts to our CDN. The filenames have a unique hash (example:
main.ccf7f1416b95c774e994.js) to help with proper caching.
Adding an API call to our CI pipeline would make the update of this site hands-off the development team and make updates faster and easier.
Thanks for you thoughts on this.