mirror of
https://github.com/zhigang1992/react.git
synced 2026-02-15 09:07:37 +08:00
Merge pull request #16 from unix/create-react-app
docs: add example project for create-react-app
This commit is contained in:
@@ -55,4 +55,15 @@ import { Button } from '@zeit-ui/react/components/button'
|
||||
const MyComponent = () => <Button>Click Me</Button>
|
||||
```
|
||||
|
||||
<Spacer y={3} />
|
||||
|
||||
### Create React App
|
||||
|
||||
The React project created by <Link target="_blank" rel="nofollow" href="https://github.com/facebook/create-react-app">create-react-app</Link> can
|
||||
also easily use `@zeit-ui/react`. You don't need to make any changes, just install and use.
|
||||
|
||||
We have <Link target="_blank" rel="nofollow" href="https://github.com/zeit-ui/react-getting-started">a sample project related to `create-react-app` here</Link>.
|
||||
|
||||
|
||||
|
||||
export default ({ children }) => <Layout meta={meta}>{children}</Layout>
|
||||
|
||||
Reference in New Issue
Block a user