Skip to content

Commit

Permalink
chore: use defineConfig in readme
Browse files Browse the repository at this point in the history
Co-authored-by: Shinigami <chrissi92@hotmail.de>
  • Loading branch information
aleclarson and Shinigami92 committed Sep 17, 2021
1 parent 4313e26 commit bfd5a9a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/plugin-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ The all-in-one Vite plugin for React projects.

```js
// vite.config.js
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

export default {
export default defineConfig({
plugins: [react()]
}
})
```

## Filter which files use Fast Refresh
Expand Down

0 comments on commit bfd5a9a

Please sign in to comment.