2.1.1 • Published 9 months ago

react-ele-cli v2.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

react-ele-cli

standard scaffold

Installation


Use Npm

npm install react-ele-cli -g

Use Npx

npx react-ele-cli

Use Yarn

yarn install react-ele-cli -g

When the installation is complete, you can detect whether the installation is working properly

react-ele-cli -V

Quick Start


You can quickly build a project.

react-ele-cli init demo

Example

终端交互指令
请输入项目标题 xxx
请输入项目介绍 xxxx
请选择项目cli Webpack5
请选择依赖安装方式 (none yarn npm pnpm)
安装完成,输出目录

Project


Directory

|-- 目录 |-- README.md |-- babel.config.js |-- jsconfig.json |-- package.json |-- config | |-- env.config.js | |-- router.config.js |-- dist
|-- public
| |-- README.md |-- scripts 常用脚本 |-- src | |-- defaultSetting.js | |-- index.js | |-- index.less | |-- assets | | |-- README.md | |-- components 公用组件 | | |-- README.md | |-- js 常用js | |-- layouts 项目布局 | | |-- README.md | |-- pages 项目页面 | | |-- 404.jsx | |-- services | | |-- api.js api | |-- styles | | |-- vars.scss
| |-- utils 常用工具 |-- webpack webpack配置 |-- webpack.config.dev.js |-- webpack.config.js

Deploy

When the nginx environment is ready, use a script for one-click deployment。

Please install ssh-pass before uploading

install sshpass (download from internet)

Install the ssh-pass in place and fill in the server configuration

1,修改 ./scripts/publish.sh (host port username password path)
2,npm run publish
2.1.1

9 months ago

2.0.9

11 months ago

2.1.0

9 months ago

2.0.7

1 year ago

2.0.5

1 year ago

2.0.6

1 year ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.4

2 years ago

2.0.1

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago