Tutorial recommendation of naming stylesheet index.css causes problems
オープン
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 11.8k
- フォーク
- 7.9k
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 11
説明
The React Tutorial (https://reactjs.org/tutorial/tutorial.html#setup-option-2-local-development-environment) includes the instruction
- Add a file named index.css in the src/ folder with [this CSS code]
This stylesheet is ignored. Upon perusing the generated file structure in Google Developer Tools, I discovered that another index.css (apparently generated by Webpack) had overwritten this one.
Giving the stylesheet another name (e.g. myapp.css) solves the problem.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
React Tutorial の「Setup Option 2」セクションと、src/index.css を作成するよう指示している箇所から始めてください。報告されている、生成された Webpack stylesheet との競合を確認し、確認できた場合はチュートリアルの stylesheet の命名に関する案内を更新してください。完了の条件は、チュートリアルによってユーザーが作成した stylesheet が無視されなくなることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- css, javascript, react, webpack
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 48/100