HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

jigsaw — A Laravel-based static site builder for PHP. More information: <https://jigsaw.tighten.co/>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandlaravelstaticclibuildersitebasedjigsaw

Problem

How to use the jigsaw command: A Laravel-based static site builder for PHP. More information: <https://jigsaw.tighten.co/>.

Solution

jigsaw — A Laravel-based static site builder for PHP. More information: <https://jigsaw.tighten.co/>.

Initialize a project:
jigsaw init


Initialize a project using a starter template:
jigsaw init {{template_name}}


Build the site for development:
jigsaw build


Preview the site from the "build_local" directory:
jigsaw serve


Build the site for production:
jigsaw build production


Preview the site from the "build_production" directory:
jigsaw serve {{build_production}}

Code Snippets

Initialize a project

jigsaw init

Initialize a project using a starter template

jigsaw init {{template_name}}

Build the site for development

jigsaw build

Preview the site from the "build_local" directory

jigsaw serve

Build the site for production

jigsaw build production

Context

tldr-pages: common/jigsaw

Revisions (0)

No revisions yet.