Michael Bromley 1f9b6192a2 chore: Pre-release v2.0.0-next.25 3 år sedan
..
src 1888f177bc Merge branch 'minor' into major 3 år sedan
templates ffe48db369 docs(create): Add inline documentation on assetUrlPrefix 3 år sedan
.gitattributes 5fdeace799 fix(create): Add .gitattributes to prevent eol conversions 6 år sedan
.gitignore 7c633860da feat: create @vendure/create package 6 år sedan
.npmignore 7c633860da feat: create @vendure/create package 6 år sedan
README.md 50cf54e9f8 docs: Update documentation for plugins & getting started 6 år sedan
build.ts 7c633860da feat: create @vendure/create package 6 år sedan
index.js 65a113b12b feat(admin-ui): Add Polish translations (#317) 5 år sedan
package.json 1f9b6192a2 chore: Pre-release v2.0.0-next.25 3 år sedan
tsconfig.build.json 7c633860da feat: create @vendure/create package 6 år sedan
tsconfig.json 2061828873 feat: Preserve comments in compiled files 5 år sedan

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