Skip to content

Commit 97604be

Browse files
committed
📝 update doc
1 parent 95680b5 commit 97604be

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

README.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,11 @@ npm i unplugin-react-components -D
1616
import Components from 'unplugin-react-components/vite'
1717

1818
export default defineConfig({
19-
plugins: [
20-
Components({ /* options */ }),
21-
],
22-
})
23-
```
24-
25-
Example: [`playground/`](./playground/)
26-
27-
28-
```ts
29-
// rollup.config.js
30-
import Components from 'unplugin-react-components/rollup'
31-
32-
export default {
3319
plugins: [
3420
React(),
3521
Components({ /* options */ }),
3622
],
37-
}
23+
})
3824
```
3925

4026
<br></details>

0 commit comments

Comments
 (0)