Giter Club home page Giter Club logo

201607react's Introduction

1. 安装bower

bower 是一个前端框架管理器 jquery angular bootstrap npm node包管理器 mime gulp bower是一个全局的命令行工作,需要通过npm 全局安装 npm在安装node的时候会自动安装

npm install bower -g

2. 安装 react babel

bower install react babel 

react就是我们要安装的模块 babel相当于一个翻译,因为浏览器并不能识别react代码,所以需要通过babel帮助我们进行翻译,把react原生代码翻译成浏览器能识别的javascript代码。

bower install之后会在当前项目下增加一个bower_components的文件夹。 里面放着我们安装的模块

我们要把bower_component添加到git的忽略列表里面 我们只需要把依赖的模块告诉别人就可以,别人可以自行安装

201607react's People

Contributors

zhufengnodejs avatar

Watchers

 avatar  avatar

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.