Giter Club home page Giter Club logo

generator's Introduction

已废弃,并入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

generator's People

Contributors

liufei avatar shenlq avatar

Stargazers

特瑞 avatar dyc avatar  avatar

Watchers

James Cloos avatar langli avatar Ivan avatar  avatar  avatar

Forkers

lxn20170823

generator's Issues

脚手架默认不支持css

脚手架匹配规则默认不支持css,当旧项目中引用css文件时会报错,将匹配规则适配css即可解决问题

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.