Create Coralite Scaffolding
The create-coralite package is a command-line interface (CLI) tool designed to scaffold new projects using the Coralite static-site-generator (SSG).
Note: This guide assumes familiarity with basic terminal operations, Node.js (v22.12.0 or higher), and package managers such as
npm,yarn, orpnpm.
Installation & Usage #
Install via Package Manager #
To initialize a new Coralite project:
npm create coralite@latest
Alternatively, use other package managers:
yarn create coralite
pnpm create coralite
Note: The
create-coraliteCLI is registered as bothcreate-coraliteandcca(short for Coralite Create App).
CLI Options #
-o, --output <name> #
- Purpose: Set project output directory.
- Default: Empty string → prompt required
- Usage Example:
npm create coralite -o my-project
-t, --template <name> #
- Purpose: Select styling template for the scaffolded project.
- Choices:
css,scss - Default: Empty string → user selection required
- Usage Example:
npm create coralite -t scss