Method to Build Dynamic Pages in New CLI

Is there any way to add dynamic page extension in new Wix CLI. In Wix Blocks, I was able to page extension with with location API to show CMS content dynamically on a static page, but I don’t know how to approach this in CLI. I tried Wix Site Location SDK but its dynamic links shows 404 errors