📦 YMFE / qreact-cli

qreact 脚手架

3 stars 0 forks 👁 3 watching ⚖️ Apache License 2.0
qreactqreact-cli
📥 Clone https://github.com/YMFE/qreact-cli.git
HTTPS git clone https://github.com/YMFE/qreact-cli.git
SSH git clone git@github.com:YMFE/qreact-cli.git
CLI gh repo clone YMFE/qreact-cli
nichelove nichelove Merge pull request #6 from YMFE/dev-v0.0.1 954a3d6 8 years ago 📝 History
📂 master View all commits →
📁 bin
📁 lib
📄 .DS_Store
📄 .gitignore
📄 LICENSE
📄 README.md
📄 README.md

简介

使用我们提供的 QReact-Cli 工具,自动化部署和升级 Qreact 项目

环境要求

Node.js(> = 4.x),npm版本3+

安装

  • npm install qreact-cli -g // 全局安装 QReact-Cli
  • 运行 qreact init // 初始化QReact项目
  • 输入您自定义的项目名称
  • 选择您需要兼容的浏览器最低版本
  • npm install // 进入项目安装依赖包
  • npm run start // 启动开发环境
  • 访问 http://localhost:8081/ // 打开项目

帮助命令

运行 qreact 显示帮助信息

QReact 打包

运行 npm run build 编译生产环境配置文件