Skip to content

Commit 1577e35

Browse files
committed
fix : delete include option
1 parent 4949e10 commit 1577e35

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

apps/landing/src/app/(detail)/components/overview/Description.mdx

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -8,48 +8,4 @@ yarn add @devup-ui/components
88
pnpm add @devup-ui/components
99
```
1010

11-
You need to configure the include option for each bundler environment to properly load the `@devup-ui/components` package.
12-
13-
# using Vite
14-
15-
```typescript
16-
//vite.config.js
17-
import { defineConfig } from "vite";
18-
import react from "@vitejs/plugin-react";
19-
import { DevupUI } from "@devup-ui/vite-plugin";
20-
export default defineConfig({
21-
plugins: [
22-
DevupUI({
23-
include: ["@devup-ui/components"],
24-
}),
25-
react(),
26-
],
27-
});
28-
```
29-
30-
# using Next.js
31-
32-
```typescript
33-
// next.config.js
34-
import { DevupUI } from "@devup-ui/next-plugin";
35-
export default DevupUI({ include: ["@devup-ui/components"] });
36-
```
37-
38-
# using Rsbuild
39-
40-
```typescript
41-
// rsbuild.config.mjs
42-
import { defineConfig } from "@rsbuild/core";
43-
import { pluginReact } from "@rsbuild/plugin-react";
44-
import { DevupUIRsbuildPlugin } from "@devup-ui/rsbuild-plugin";
45-
export default defineConfig({
46-
plugins: [
47-
pluginReact(),
48-
DevupUIRsbuildPlugin({
49-
include: ["@devup-ui/components"],
50-
}),
51-
],
52-
});
53-
```
54-
5511
Note: If you encounter `Cannot run on the runtime` error, make sure the include option is properly configured for your bundler.

0 commit comments

Comments
 (0)