react-zhihu icon indicating copy to clipboard operation
react-zhihu copied to clipboard

这是一个模仿知乎界面的简单React demo。这个React demo能让你从零开始学习React,并逐渐掌握React。它包括了一个项目从零到项目完成的整个过程。

Results 4 react-zhihu issues
Sort by recently updated
recently updated
newest added

用gulp将编译后的脚本、资源文件、index.html 拷贝到dist里 gulp.task('copy', function () { gulp.src('./app/css/*') .pipe(gulp.dest('./dist/css')); gulp.src('./bower_components/**/*') .pipe(gulp.dest('./dist/libs')); gulp.src('./*.html') .pipe(gulp.dest('./dist')); }); 问题描述: 打包前 index.html 引用脚本的路径为:/dist/js/main.js build之后 index.html 位置放在了dist目录下,/dist/js/main.js 这个引用路劲失效了。 预期效果: dist文件下存放的build之后的项目,应该是完整可用的。 谢谢!

谢谢您的项目和说明,对我的帮助很大。 我正在尝试模仿做一个类似的demo,也想它能够被展示出来。请问您的项目是通过放在博客的公共目录下来实现访问的吗?

请问一下git主,您是在看了哪些资料之后着手写的这个demo