Posts List

How to lazy load 3rd party scripts globally in Angular using Typescript and webpack

We are busy migrating our web app from AngularJS 1.6 all the way up to Angular 7. For this we needed to migrate our ImageEditor module which allows users to customise images in the web app. For this module we relied on the TUI image editor plugin. Since this module is not needed on bootstrap we decided to lazy load it and wanted to have the vendors lazy load as well to optimise our apps startup time.

Angular and SEO for google search console

Angular and SEO for google search console

How to render Angular page for google search bot Recently I got the following preview for a website which was build using Angular 7. Google shows this as a preview: (blank screen for “This is how Googlebot saw the page:” and “This is how a visitor to your website would have seen the page:”) ![Google search console rendering preview](/uploads/Screenshot 2019-02-05 at 14.32.43.png “Google search console rendering preview”) This was not what I signed up for.