Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lfades committed Aug 20, 2020
1 parent 02d02f8 commit 4e1b3aa
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions examples/with-react-intl/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Example app with [React Intl][]

This example app shows how to integrate [React Intl][] with Next.
This example app shows how to integrate [React Intl][] with Next.js.

## How to use

### Using `create-next-app`

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:

```bash
Expand All @@ -14,28 +12,9 @@ npx create-next-app --example with-react-intl with-react-intl-app
yarn create next-app --example with-react-intl with-react-intl-app
```

### Download manually

Download the example:

```bash
curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-react-intl
cd with-react-intl
```

Install it and run:

```bash
npm install
npm run dev
# or
yarn
yarn dev
```

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)).

### Features of this example app
## Features of this example app

- Server-side language negotiation
- React Intl locale data loading via `pages/_document.js` customization
Expand Down

0 comments on commit 4e1b3aa

Please sign in to comment.