Sha256: 16d48b3c91c6efe713cb72cb3f2ed19766fb9a69fba2688c361c9bbe242896b2
Contents?: true
Size: 329 Bytes
Versions: 1
Compression:
Stored size: 329 Bytes
Contents
import React from 'react'; import {Switch, Route} from '@shopify/react-router'; import {Home} from 'features'; import {NotFound} from 'components/NotFound'; export function Routes() { return ( <Switch> <Route path="/" exact render={() => <Home />} /> <Route render={() => <NotFound />} /> </Switch> ); }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
quilt_rails-3.1.0 | lib/generators/quilt/demo_app/templates/app-ui/foundation/Routes.tsx |