And what about when you need to glue an external library into a page, or pivot a feature.
I've seen design generating frontend as a promised holy grail, and it's still not there. The further away your design is from the person who actually builds the product, the longer and slower the turn around time is for the inevitable pivot or adjustment.
It's all 'perfect world' scenarios.
Creating a CMS? Sure. Web app that connects to x,y,z services and crunches a,b,c datasets? Not a chance.