Created
August 11, 2019 12:52
-
-
Save Weiyuan-Lane/3274589206113211ecedaccf2ff557a1 to your computer and use it in GitHub Desktop.
Sample component using `BasePathLink`
This file contains hidden or 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
import BasePathLink from 'BasePathLink'; | |
export default function Home() { | |
return ( | |
<div> | |
This is an empty page, to test this SPA.<br/> | |
You should just go <BasePathLink href='/'><a>home</a></BasePathLink><br/> | |
Or you can go <BasePathLink href='/deep'><a>deep</a></BasePathLink> | |
</div> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment