Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert MDX README changes #6062

Merged
merged 22 commits into from
Jan 31, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update react
  • Loading branch information
natemoo-re committed Jan 26, 2023
commit 99e2f89a2a3f0b6342ca04b56a41963d86275554
7 changes: 4 additions & 3 deletions packages/integrations/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,14 @@ Now, apply this integration to your `astro.config.*` file using the `integration

__`astro.config.mjs`__

```js
```js ins={2} "react()"
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';

export default {
export default defineConfig({
// ...
integrations: [react()],
}
});
```

## Getting started
Expand Down