Skip to content

Commit

Permalink
docs: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Tymek committed Feb 15, 2023
1 parent dd1c91c commit 250d3c7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ If you plan to use configuration in the browser, add `NEXT_PUBLIC_` prefix.
If both are defined and available, private variable takes priority.
You can use both to have different values on client-side and server-side.

<br/>

# Usage

## A). Client-side only - simple use case and for development purposes (CSR)
Expand Down Expand Up @@ -261,7 +259,7 @@ npx @unleash/nextjs

For the CLI to work, the following [environment variables](#environment-variables) must be configured with appropriate values:

- `UNLEASH_SERVER_API_URL`
- `UNLEASH_SERVER_API_URL`
- `UNLEASH_SERVER_API_TOKEN`

The CLI will attempt to environment values from any `.env` files if they're present. You can also set the variables directly when invoking the interface, as in the [CLI usage example](#example).
Expand All @@ -280,13 +278,11 @@ The CLI will attempt to environment values from any `.env` files if they're pres
Try it now

```sh
UNLEASH_URL=https://app.unleash-hosted.com/demo/api \
UNLEASH_TOKEN=test-server:default.8a090f30679be7254af997864d66b86e44dcfc5291916adff72a0fb5 \
UNLEASH_SERVER_API_URL=https://app.unleash-hosted.com/demo/api \
UNLEASH_SERVER_API_TOKEN=test-server:default.8a090f30679be7254af997864d66b86e44dcfc5291916adff72a0fb5 \
npx @unleash/nextjs generate-types ./unleash.ts
```

<br/>

# What's next

## Experimental features support
Expand Down

0 comments on commit 250d3c7

Please sign in to comment.