|
|
пре 2 година | |
|---|---|---|
| .. | ||
| src | пре 2 година | |
| templates | пре 2 година | |
| .gitattributes | пре 6 година | |
| .gitignore | пре 6 година | |
| .npmignore | пре 6 година | |
| README.md | пре 6 година | |
| build.ts | пре 2 година | |
| index.js | пре 5 година | |
| package.json | пре 2 година | |
| tsconfig.build.json | пре 6 година | |
| tsconfig.json | пре 5 година | |
A CLI tool for rapidly scaffolding a new Vendure server application. Heavily inspired by create-react-app.
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 @vendure/create my-app
npx comes with npm 5.2+ and higher.
npm init @vendure my-app
npm init <initializer> is available in npm 6+
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.
--use-npmBy 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-levelYou 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