Frozen-Flask icon indicating copy to clipboard operation
Frozen-Flask copied to clipboard

[Feature Request] Compile to single page js app.

Open kgpayne opened this issue 8 years ago • 3 comments

Hi! It would be amazing if frozen-flask could compile the generated static files into a single html file (single page app), with routing controlled by one of the many js frameworks (Angular, React, Ember etc.).

kgpayne avatar Aug 31 '17 11:08 kgpayne

Thanks for the feature request. What would it look like for Frozen-Flask to compile such pages? Right now it is very closely tied to using Flask's routing mechanism.

tswast avatar Sep 07 '17 22:09 tswast

I think this is a very cool idea, but I'm unsure there are resources among the maintainers to pursue such direction in development of the project. If there's anyone willing to work on this, let us know! I think, from the user's point of view, it could be almost as simple as a switch in the settings, but the implementation side is where the challenges await.

honzajavorek avatar Mar 17 '20 15:03 honzajavorek

That sounds kinda backwards to me. Why wouldn't you use one of the mentioned frameworks directly? I think Frozen-Flask should keep its focus on freezing Flask apps and not turn into a code generator for JS frameworks.

dAnjou avatar Sep 05 '20 15:09 dAnjou