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

spike — A fully featured static website generator written in JavaScript. More information: <https://spike.re

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

Problem

How to use the spike command: A fully featured static website generator written in JavaScript. More information: <https://spike.readme.io/docs/command-line-interface>.

Solution

spike — A fully featured static website generator written in JavaScript. More information: <https://spike.readme.io/docs/command-line-interface>.

Create a new project using the default template:
spike new {{project_name}}


Compile your project, watch for changes, and auto-reload the browser:
spike watch


Compile your project once to the "public" directory:
spike compile


Remove the output directory:
spike clean

Code Snippets

Create a new project using the default template

spike new {{project_name}}

Compile your project, watch for changes, and auto-reload the browser

spike watch

Compile your project once to the "public" directory

spike compile

Remove the output directory

spike clean

Context

tldr-pages: common/spike

Revisions (0)

No revisions yet.