Michael Bromley bec677ca0e chore: Pre-release v2.2.0-next.4 il y a 1 an
..
src 2f51929428 feat(core): Update TypeScript version to v5.1.6 il y a 1 an
templates b99dfbc29b fix(create): Add a slash at the end of assetUrl to avoid being ignored (#2605) il y a 2 ans
.gitattributes 5fdeace799 fix(create): Add .gitattributes to prevent eol conversions il y a 6 ans
.gitignore 7c633860da feat: create @vendure/create package il y a 6 ans
.npmignore 7c633860da feat: create @vendure/create package il y a 6 ans
README.md 50cf54e9f8 docs: Update documentation for plugins & getting started il y a 6 ans
build.ts 0441a0338a chore: Migrate from TSLint to ESLint il y a 2 ans
index.js 65a113b12b feat(admin-ui): Add Polish translations (#317) il y a 5 ans
package.json bec677ca0e chore: Pre-release v2.2.0-next.4 il y a 1 an
tsconfig.build.json 7c633860da feat: create @vendure/create package il y a 6 ans
tsconfig.json 2061828873 feat: Preserve comments in compiled files il y a 5 ans

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