Simplest SSG for your sites using Blade & Vite.
- Generation from JSON files
- Blade template engine from Laravel
- Vite CSS & JS compiler
- Sharing custom data between pages
- PHP 7.4 or higher
- Recent versions of Node JS + yarn (or npm, pnpm etc.)
- Clone this repo or run
composer create-project twent/ssg YOUR_SITE_NAME
- Install deps
make install
- Make testing build
make
- Views in
resources/views
- Pages JSONs in
resources/pages
folder - CSS & JS assets in
resources/assets
Inspired by Cleaver