4 ms·
There's something wrong with the routing on that page. Whenever I open a link in a new tab it redirects to the home page. The same behavior when I type http://e
by vbsteven 11y ago
There's something wrong with the routing on that page. Whenever I open a link in a new tab it redirects to the home page. The same behavior when I type http://elemental-ui.com/css http://elemental-ui.com/css in my address bar and hit enter, it opens the homepage. Only clicking a link on the homepage gets me to the css page.
- jed_watson 11y agoThanks for pointing that out - webre using react-router and it works locally, not sure why hosting on github pages breaks it. Will check it out.
- mikewhy 11y agoIf you're using the HistoryLocation in react-router then it expects a server with routes that renders the same index.html page, which github pages definitely doesn't do