re: Create powerful fast pre-rendered Angular Apps using Scully static site generator VIEW POST

re: Hi Danny! Great post, thanks πŸ‘ Scully looks awesome! I have a question about fetching dynamic data from JSON API: how can we populate the resulting...

Hey, you will handle this like in a common Angular app: create a service that requests your api and fill the template.
Scully will only request the api to identify all placeholders to find all routes. When running scully it will visit all the route by using the Chrome browser and your angular app built with ng build. The result is stored from scully as static html which can be served and accessed immediately with angular bootstrapping in the background.


Great! Thanks, I’m gonna try that πŸ‘

code of conduct - report abuse