carteb / carte-blanche

An isolated development space with integrated fuzz testing for your components. See them individually, explore them in different states and quickly and confidently develop them.
https://www.youtube.com/watch?v=6g3-TQ6aaw8
MIT License
1.5k stars 46 forks source link

404 page in client #198

Closed mxstbr closed 8 years ago

mxstbr commented 8 years ago

When opening the URL of a component that doesn't exist (e.g. localhost:8080/styleguide/#/some/blabla/not/a/component) then you're only greeted with a white page. We should add a 404 page by adding this route to client/client.js after all component routes:

<Route path="*" component={FourOhFour} />

Where FourOhFour refers to a component in the client.

nikgraf commented 8 years ago

@mxstbr can we close this?

mxstbr commented 8 years ago

Yessir!