true3dco / splashgen

Rapidly build landing pages in <20 lines of python
https://splashgen.sh
MIT License
252 stars 16 forks source link

Begin emitting NextJS Web Apps (v2 of splashgen) #7

Closed traviskaufman closed 3 years ago

traviskaufman commented 3 years ago

Overview

This PR introduces the mechanisms for generating full-fledged web apps (backed by NextJS) using splashgen. You can see this in examples/splashgen_hosting.py, which uses the SaasMarketingSite template. This outputs multiple pages, and has a placeholder support for signing in etc.

NOTE: This should be merged into next, not master, in order to keep the existing splashgen instance stable until all of the rest of the examples are ported and the documentation is updated.

Testing

  1. Checkout this branch
  2. Run python setup.py install to install with all deps
  3. Run python -m splashgen.cli examples/splashgen_hosting.py