rsnext/examples/with-orbit-components/README.md

26 lines
1.3 KiB
Markdown
Raw Normal View History

2019-03-27 01:49:12 +01:00
# Example app with styled-components
[Orbit-components](https://orbit.kiwi) is a React component library which provides developers with the easiest possible way of building Kiwi.coms products.
For this purpose we are extending `<App />` of injected `<ThemeProvider/>`, and also adding `@kiwicom/babel-plugin-orbit-components`.
This fork comes from [styled-components-example](https://github.com/vercel/next.js/tree/canary/examples/with-styled-components).
## Deploy your own
Deploy the example using [Vercel](https://vercel.com):
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/vercel/next.js/tree/canary/examples/with-orbit-components)
2019-03-27 01:49:12 +01:00
## How to use
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:
2019-03-27 01:49:12 +01:00
```bash
npx create-next-app --example with-orbit-components with-orbit-components-app
2019-03-27 01:49:12 +01:00
# or
yarn create next-app --example with-orbit-components with-orbit-components-app
```
Deploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).