Giter Site home page Giter Site logo

picture-gallery's Introduction

Gallery By React

a react project

clone项目到本地后,首先安装依赖,通过npm命令安装

npm install

这个命令的执行依赖网络,所以需要一些时间。

若成功运行完毕,使用下面命令启动项目

npm start 启动项目,启动之后,脚本命令会自动启动浏览器打开该网址浏览程序 http://localhost:8000/webpack-dev-server/

本项目是根据慕课网《React实战》课程完成的该项目,主讲老师materliu是一个非常热心的前端开发者。特别感谢他

他分享的demo 画廊应用

materliu的开源开发项目:画廊项目项目开源地址

若遇到node-sass模块未找到,请尝试

SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass/
npm install node-sass --save-dev

或者

npm install -g cnpm --registry=https://registry.npm.taobao.org

安装cnpm工具然后通过下面cnpm命令安装node-sass

cnpm install  node-sass --save-dev

本项目是基于node v6.3.1开发的项目,由于讲师在制作课程的时候比较早,yeoman上react的generator还是使用grunt与webpack构建的项目和现在yeoman上react的generator构建工具webpack,去除了grunt之后有所不同,所以对于最初接触react的学生来说,还是蛮有压力的,我通过个下午的时间将使用最新版的react generator完成了该项目,供大家借鉴参考。 欢迎fork项目,若有问题欢迎邮箱联系反馈问题

picture-gallery's People

Contributors

rushui avatar

Watchers

James Cloos 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.