File tree Expand file tree Collapse file tree 1 file changed +19
-15
lines changed Expand file tree Collapse file tree 1 file changed +19
-15
lines changed Original file line number Diff line number Diff line change 5
5
A component to integrate [ P5.js] ( https://p5js.org/ ) sketches into
6
6
[ React] ( https://reactjs.org/ ) apps.
7
7
8
+ ## NextJS
9
+
10
+ If you plan to use this component within a NextJS application, you should
11
+ instead use
12
+ [ our NextJS dynamic implementation] ( https://github.com/P5-wrapper/next ) instead.
13
+ To do get started, you can run:
14
+
15
+ ``` shell
16
+ [npm| yarn| pnpm] [install| add] @p5-wrapper/next react-p5-wrapper
17
+ ```
18
+
19
+ Please continue reading these docs and also look at
20
+ [ the NextJS dynamic implementation docs] ( https://github.com/P5-wrapper/next ) for
21
+ further supporting information.
22
+
8
23
## Demo & Examples
9
24
10
25
### Live demo
@@ -31,22 +46,11 @@ Then just open `http://localhost:3001` in a browser.
31
46
32
47
## Installation
33
48
34
- ### NPM
35
-
36
- ``` sh
37
- npm install react-p5-wrapper
38
- ```
39
-
40
- ### PNPM
49
+ To install, use the following command in the format appropriate to your chosen
50
+ package manager:
41
51
42
- ``` sh
43
- pnpm add react-p5-wrapper
44
- ```
45
-
46
- ### Yarn
47
-
48
- ``` sh
49
- yarn add react-p5-wrapper
52
+ ``` shell
53
+ [npm| yarn| pnpm] [install| add] react-p5-wrapper
50
54
```
51
55
52
56
## Usage
You can’t perform that action at this time.
0 commit comments