Created
September 14, 2015 10:05
-
-
Save khrtz/62c886957055284ac663 to your computer and use it in GitHub Desktop.
[react-router]Link toを使うと要素が表示されない時 ref: http://qiita.com/khrtz/items/87e7d4ff0ca0fd1c61e3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Link to="mypage" className="aaa"></Link> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<li className="Site-nav__item"> | |
<Link to="mypage"> | |
<a href="/mypage/" className="Site-nav"> | |
<div className="Site-nav__link-icon Icon-mypage"></div> | |
<div className="link-txt">マイページ</div> | |
</a> | |
</Link> | |
</li> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment