Détail du package

@gridsome/cli

gridsome14.5kMIT0.3.4

A command line tool for creating new Gridsome projects.

gridsome, cli

readme

@gridsome/cli

A command line tool for creating new Gridsome projects.

Installation

Install globally with npm install --global @gridsome/cli or yarn global add @gridsome/cli

Creating new projects

Run gridsome create {name} {starter} to create a new Gridsome project.

  • name - directory name to create the project in
  • starter - optional starter kit name
Official starter kits
Default gridsome create my-website
WordPress gridsome create my-blog wordpress

Start local development

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

Explore GraphQL schema and data

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

Build for production

Run gridsome build to generate a static site inside a dist directory in your project.

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.3.4 (2020-08-20)

Bug Fixes

  • cli: prefer npm if the starter has package-lock.json (#1282) (5252622)

0.3.3 (2020-05-26)

Bug Fixes

0.3.2 (2020-04-18)

Note: Version bump only for package @gridsome/cli

0.3.1 (2019-10-15)

Note: Version bump only for package @gridsome/cli

0.3.0 (2019-10-01)

Features

0.2.3 (2019-09-11)

Bug Fixes

  • cli: show suggested command when installed (b70fefa)
  • cli: show update notification (46fe174)

0.2.2 (2019-08-19)

Bug Fixes

  • cli: resolve context with package.json (17c282e)

0.2.1 (2019-06-25)

Note: Version bump only for package @gridsome/cli

0.2.0 (2019-06-07)

Features

0.1.1 (2019-05-20)

Note: Version bump only for package @gridsome/cli

0.1.0 (2019-05-10)

Features

  • cli: support relative github repository urls (2df6d80)

0.0.9 (2019-03-29)

Bug Fixes

0.0.8 (2019-02-19)

Bug Fixes

  • cli: create project in current directory (#179) (efb7b06)
  • cli: include package name in version (#176) (e90538c)

0.0.7 (2018-11-23)

Bug Fixes

  • cli: allow any url as starter (b689dd1)

0.0.6 (2018-10-15)

Bug Fixes

  • cli: dont use deprecated yarn versions (06e876c)
  • cli: show error message if install fails #7 (af0021e)

0.0.5 (2018-09-18)

Bug Fixes

  • cli: show progress when installing deps (bb18351)

0.0.4 (2018-09-17)

Bug Fixes

  • cli: install dependencies after create (fa5caea)

0.0.3 (2018-09-17)

Bug Fixes

  • cli: resolve local gridsome (3f2201d)

0.0.2 (2018-09-16)