Gridmix CLI

A command-line tool for creating new Gridmix projects. Install Gridmix CLI globally with npm install --global @gridmix/cli.

create

Usage create <name> [starter]

  • name - Directory name to create the project in.
  • starter - Optional starter kit name.
Official starter kits
Defaultgridmix create my-website
WordPressgridmix create my-blog wordpress

Read more about starter kits

develop

Usage gridmix develop

Run this command inside the project directory to start a local development server. The server will start at http://localhost:8080/ with hot-reloading etc.

Available options:

OptionDescription
--port <port>use specified port (default: 8080)
--host <host>use specified host (default: 0.0.0.0)

build

Usage gridmix build

This command will generate a static site inside a dist directory in your project.

explore

Usage gridmix explore

Run this command to start GraphQL Playground and explore your schema or data. Open your browser and go to http://localhost:8080/___explore to start exploring.

info

Usage gridmix info

This command will output information about the local environment.

Edit this page on GitHub