使用React打造图片画廊实践案例

点击打开图片画廊(Github版)

点击打开图片画廊(OSchina版)

依赖文件:

  • “autoprefixer”: “^7.1.4”,
  • “babel-core”: “^6.26.0”,
  • “babel-loader”: “^7.1.2”,
  • “babel-preset-env”: “^1.6.0”,
  • “babel-preset-react”: “^6.24.1”,
  • “css-loader”: “^0.28.7”,
  • “file-loader”: “^0.11.2”,
  • “html-webpack-plugin”: “^2.30.1”,
  • “json-loader”: “^0.5.7”,
  • “postcss-loader”: “^2.0.6”,
  • “react”: “^15.6.1”,
  • “react-dom”: “^15.6.1”,
  • “react-hot-loader”: “^1.3.1”,
  • “sass-loader”: “^6.0.6”,
  • “style-loader”: “^0.18.2”,
  • “url-loader”: “^0.5.9”,
  • “webpack”: “^3.5.6”,
  • “webpack-dev-server”: “^2.8.2”