developit / developit/react-router-4-test

Add More Details to README?

未关闭
#3 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
35
派生
7
PR 合并指标
30 天内没有已合并 PR

描述

I just went through the process of removing preact-compat from my existing app which was using react-router. I used this repo as a guide but I stumbled around awhile before I realized that all I had to do was copy `lib/react.js` into my project and modify `modulesDirectories` in the webpack config.

Since this is one of the top search results for 'preact react router' it would be awesome if some of these details could be added to the readme. Also `modulesDirectories` no longer exists in webpack 2.

Let me know if I can help.

贡献指南

这个仓库没有索引到贡献指南

调研方向

先阅读 README 和其中引用的 lib/react.js,然后检查 issue 中提到的 webpack 配置细节,包括 modulesDirectories。更新 README,补充使用 React Router 和 Preact 的步骤,并注明 modulesDirectories 在 webpack 2 中不可用;当迁移指南清晰且准确时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, react, webpack
领域
documentation
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。