schultek / jaspr

Modern web framework for building websites in Dart. Supports SPAs, SSR and SSG.
https://jasprpad.schultek.de
MIT License
1.23k stars 76 forks source link

feat: Add template specific for SSG #145

Closed cybertheory closed 9 months ago

cybertheory commented 9 months ago

Description

I used the fully client-side template for my ssg (static site generation). I am just learning jaspr by redoing my site. However, the CLI command 'jaspr generate' doesn't seem to be picking up the main.dart file it doesn't seem to be in the right place. I think it would be better to have an SSG template and the SSG commands so it works together well. I am sure a lot of people who are building websites will be making static websites instead of data-powered sites.

Additional Context

cybertheory commented 9 months ago

Would be willing to work on this, where is the cli package source code?

fusion44 commented 9 months ago

All the packages are in the packages folder: https://github.com/schultek/jaspr/tree/main/packages/jaspr_cli