ZeroIntensity / view.py

The Batteries-Detachable Web Framework
https://view.zintensity.dev
MIT License
206 stars 15 forks source link

Static Builds #110

Closed ZeroIntensity closed 5 months ago

ZeroIntensity commented 6 months ago

Feature description

A way to build routes into static HTML should be implemented. Of course, it would have to be serverless, so any routes that require inputs would have to either throw an error or be skipped. I think this could be done via view build command or something like that.

Feature example API

$ view build
* Loading routes...
* Handling responses...
Successfully compiled app to `./app`

Anything else?

No response

ZeroIntensity commented 6 months ago

This will primarily be useful once #12 is done, but this can be implemented beforehand so there's no need for a delay.