You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-10Lines changed: 11 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,16 +53,6 @@ The DataGrid component is designed to handle large datasets efficiently while of
53
53
-[Changelog](CHANGELOG.md)
54
54
-[Contributing](CONTRIBUTING.md)
55
55
56
-
> **Important** <br />
57
-
> `rolldown-vite` by default uses `lightningcss` to minify css which has a [bug minifying light-dark syntax](https://github.com/parcel-bundler/lightningcss/issues/873). You can switch to `esbuild` as a workaround
58
-
59
-
```ts
60
-
build: {
61
-
....,
62
-
cssMinify: 'esbuild'
63
-
}
64
-
```
65
-
66
56
## Installation
67
57
68
58
Install `react-data-grid` using your favorite package manager:
`react-data-grid` is published as ECMAScript modules for evergreen browsers, bundlers, and server-side rendering.
93
83
84
+
> **Important** <br />
85
+
> Vite 8+ by default uses `lightningcss` to minify css which has a [bug minifying light-dark syntax](https://github.com/parcel-bundler/lightningcss/issues/873). You can tweak the `cssMinify` or `cssTarget`[settings](https://main.vite.dev/config/build-options) as a workaround.
86
+
87
+
```ts
88
+
build: {
89
+
cssMinify: 'esbuild',
90
+
// or
91
+
cssTarget: 'esnext'
92
+
}
93
+
```
94
+
94
95
## Getting started
95
96
96
97
Here is a basic example of how to use `react-data-grid` in your React application:
0 commit comments