Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

NewDadaFE/generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

已废弃,并入react-impression

generator

React + Redux + React Router + React Impression + Webpack

English Version

安装

如果通过 NPM 安装过,先卸载npm rm -g yo generator-react-impression

首先, 安装Yeomangenerator-react-impression:

yarn global add yo generator-react-impression --registry https://registry.npm.taobao.org/

然后创建新项目:

yo react-impression

或者升级旧项目:

cd YOUR_PROJECT_FOLDER
yo react-impression

开发

首先, 进入项目目录并执行如下命令:

yarn
yarn start

然后, 打开浏览器并访问 http://localhost:8080

部署

首先, 在.qshell.json文件中修改七牛云配置并加入密钥。然后执行如下命令:

yarn
yarn build
yarn deploy

最佳实践

License

MIT

About

快速创建新项目

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published