Skip to content

MuYunyun/gallery-by-react

Repository files navigation

gallery-by-react

a photo gallery project based on react

基于ReactJS构架的图片画廊应用

git clone https://github.com/MuYunyun/gallery-by-react.git
npm i
npm start

完事会自动打开http://localhost:8000/webpack-dev-server/可看效果

如果你想先睹为快,可以点击我查看效果

也可以看我如何在另外一个项目里的网页端以及微信端整合它的

当然,学一门新技术可能会遇到很多问题,尤其是最新版本和教程已经有很不同之处,这需要有足够的耐心,一步一步去解决它。

项目搭建

通过yo react-webapack projectName搭建目录

命令

启动命令改了:npm start

build命令也改了:npm run dist

可参考官网

https://github.com/react-webpack-generators/generator-react-webpack

npm ls -g --depth=1 2>/dev/null | grep generator-

这个命令运行之后 可查看generator的各个版本

About

基于react打造的画廊应用

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published