npm i redrock-cli
npx redrock create my-app /npx redrock-cli create my-app
If you've previously installed redrock-cli
globally via npm install -g redrock-cli
, you should ensure that npx always uses the latest version.
(npx comes with npm 5.2+ and higher, see instructions for older npm versions)
To create a new app, you may choose one of the following methods:
npm install redrock-cli
npx redrock create my-app(your project name)
(npx is a package runner tool that comes with npm 5.2+ and higher, see instructions for older npm versions)
npm install redrock-cli -g
redrock create my-app(your project name)
npm init <initializer>
is available in npm 6+
Currently supported template presets include:
vue
vue-ts
react
react-ts
svelte
svelte-ts
MIT License