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 <[email protected]>
  • Loading branch information
aleclarson and Shinigami92 committed Sep 17, 2021
1 parent dcc6d19 commit 825bdf4
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 825bdf4

Please sign in to comment.