in this Faster angular universal with CDN episode, I have discussed an usecase which looks pretty simple at first. Serving your static file from CDN is pretty simple where You can simply use angula cli’s deploy-url flag to change your script and css path during build. But what about if you have multiple environments like DVL, QA, STAGING, PROD? .
We just want to build once and send package to your enterprise private npm and just deploy to every environment with that package making our CDN url configurable through env variable not through a build.
I have demonstrated how you can solve the issue with application reference by checking if the application is stable and then inject the files by getting the url config from environment variable using rendererfactory.
Project URL: https://github.com/kalyan11021980/ang...
Sur cette page du site, vous pouvez voir la vidéo en ligne Faster angular universal with CDN durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur BlackBox Tech 08 mars 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 4,785 fois et il a aimé 48 téléspectateurs. Bon visionnage!