react问答功能小例子

上传者: dknightl | 上传时间: 2019-12-21 19:39:50 | 文件大小: 1.77MB | 文件类型: zip
react的一个小例子,实现了添加问题以及描述、对问题进行赞或踩、能对问题进行答复,排序等功能(问题跳转用到了路由)。用webpack搭的环境,用到了less和immutable。 一。用npm install 可以下载安装package.json中的模块。运行时如果一直在map to regist,可以尝试换镜像。 二。npm run server 可以开户站点。

文件下载

资源详情

[{"title":"( 49 个子文件 1.77MB ) react问答功能小例子","children":[{"title":"webpack.config.js <span style='color:#111;'> 2.84KB </span>","children":null,"spread":false},{"title":".babelrc <span style='color:#111;'> 65B </span>","children":null,"spread":false},{"title":"build","children":[{"title":"index.html <span style='color:#111;'> 288B </span>","children":null,"spread":false},{"title":"912ec66d7572ff821749319396470bde.svg <span style='color:#111;'> 433.96KB </span>","children":null,"spread":false},{"title":"fee66e712a8a08eef5805a46892932ad.woff <span style='color:#111;'> 95.73KB </span>","children":null,"spread":false},{"title":"b06871f281fee6b241d60582ae9369b9.ttf <span style='color:#111;'> 161.67KB </span>","children":null,"spread":false},{"title":"674f50d287a8c48dc19ba404d20fe713.eot <span style='color:#111;'> 161.86KB </span>","children":null,"spread":false},{"title":"tool.css <span style='color:#111;'> 36.54KB </span>","children":null,"spread":false},{"title":"main.css <span style='color:#111;'> 67.01KB </span>","children":null,"spread":false},{"title":"af7ae505a9eed503f8b8e6982036873e.woff2 <span style='color:#111;'> 75.35KB </span>","children":null,"spread":false},{"title":"bundle.js <span style='color:#111;'> 2.43MB </span>","children":null,"spread":false}],"spread":true},{"title":"app","children":[{"title":"question","children":[{"title":"views","children":[{"title":"Question.js <span style='color:#111;'> 4.64KB </span>","children":null,"spread":false},{"title":"public","children":[{"title":"header.less <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"Test.js <span style='color:#111;'> 459B </span>","children":null,"spread":false},{"title":"Upvote.js <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"Header.js <span style='color:#111;'> 440B </span>","children":null,"spread":false}],"spread":true},{"title":"style.less <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"questionList","children":[{"title":"QuestionList.js <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"questionList.less <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"action.js <span style='color:#111;'> 515B </span>","children":null,"spread":false},{"title":"QuestionAdd.js <span style='color:#111;'> 3.55KB </span>","children":null,"spread":false},{"title":"actionType.js <span style='color:#111;'> 108B </span>","children":null,"spread":false},{"title":"QuestionItem.js <span style='color:#111;'> 4.51KB </span>","children":null,"spread":false},{"title":"questionAdd.less <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"reducer.js <span style='color:#111;'> 722B </span>","children":null,"spread":false}],"spread":true},{"title":"questionDetail","children":[{"title":"Question.js <span style='color:#111;'> 4.63KB </span>","children":null,"spread":false},{"title":"AnswerList.js <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"questionDetail.less <span style='color:#111;'> 953B </span>","children":null,"spread":false},{"title":"QuestionDetail.js <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"QuestionContent.js <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false},{"title":"answerList.less <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"AnswerItem.js <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"AnswerAdd.js <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"index.js <span style='color:#111;'> 93B </span>","children":null,"spread":false}],"spread":true},{"title":"main.js <span style='color:#111;'> 372B </span>","children":null,"spread":false},{"title":"font-awesome","children":[{"title":"fonts","children":[{"title":"fontawesome-webfont.svg <span style='color:#111;'> 433.96KB </span>","children":null,"spread":false},{"title":"fontawesome-webfont.woff2 <span style='color:#111;'> 75.35KB </span>","children":null,"spread":false},{"title":"fontawesome-webfont.eot <span style='color:#111;'> 161.86KB </span>","children":null,"spread":false},{"title":"FontAwesome.otf <span style='color:#111;'> 131.65KB </span>","children":null,"spread":false},{"title":"fontawesome-webfont.woff <span style='color:#111;'> 95.73KB </span>","children":null,"spread":false},{"title":"fontawesome-webfont.ttf <span style='color:#111;'> 161.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"css","children":[{"title":"font-awesome.css <span style='color:#111;'> 36.54KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"QuestionApp.js <span style='color:#111;'> 163B </span>","children":null,"spread":false},{"title":"store.js <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"util","children":[{"title":"GetDateDiff.js <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false}],"spread":true},{"title":"index.tmpl.html <span style='color:#111;'> 193B </span>","children":null,"spread":false}],"spread":true},{"title":"package-lock.json <span style='color:#111;'> 289.76KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"一些说明.txt <span style='color:#111;'> 139B </span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明