Michael Bromley b2277c5989 feat(create): Update config with latest email-plugin API changes há 6 anos atrás
..
src 50cf54e9f8 docs: Update documentation for plugins & getting started há 6 anos atrás
templates b2277c5989 feat(create): Update config with latest email-plugin API changes há 6 anos atrás
.gitignore 7c633860da feat: create @vendure/create package há 6 anos atrás
.npmignore 7c633860da feat: create @vendure/create package há 6 anos atrás
README.md 50cf54e9f8 docs: Update documentation for plugins & getting started há 6 anos atrás
build.ts 7c633860da feat: create @vendure/create package há 6 anos atrás
index.js 7c633860da feat: create @vendure/create package há 6 anos atrás
package.json 4999beb2e7 chore: Update package versions & publishConfig há 6 anos atrás
tsconfig.build.json 7c633860da feat: create @vendure/create package há 6 anos atrás
tsconfig.json 7c633860da feat: create @vendure/create package há 6 anos atrás

README.md

Vendure Create

A CLI tool for rapidly scaffolding a new Vendure server application. Heavily inspired by create-react-app.

Usage

Vendure Create requires Node.js v8.9.0+ to be installed.

To create a new project, you may choose one of the following methods:

npx

npx @vendure/create my-app

npx comes with npm 5.2+ and higher.

npm

npm init @vendure my-app

npm init <initializer> is available in npm 6+

Yarn

yarn create @vendure my-app

yarn create is available in Yarn 0.25+

It will create a directory called my-app inside the current folder.

Options

--use-npm

By default, Vendure Create will attempt to use Yarn to install all dependencies if it is available. You can override this and force it to use npm with the --use-npm flag.

--log-level

You can control how much output is generated during the installation and setup with this flag. Valid options are silent, info and verbose. The default is silent

Example:

npx @vendure/create my-app --log-level verbose