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
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,22 @@ Check out [the component catalog](https://elements.wokwi.com).
9
9
10
10
Note: these elements only provide the presentation and display of the represented hardware. They do not provide the functional simulation code of the hardware. That is dependant on the application (simulator) that you wish to use these with, and thus up to you to create.
11
11
12
+
## Using Wokwi Elements
13
+
14
+
You can install the package with `npm` and then import it into your code:
15
+
16
+
```js
17
+
import'@wokwi/elements';
18
+
```
19
+
20
+
Alternatively, you can load the Wokwi Elements bundle from unpkg's CDN:
Replace 0.48.3 with the latest version number. You can find a list of all the versions in the [releases](https://github.com/wokwi/wokwi-elements/) page.
27
+
12
28
## Local development
13
29
14
30
To prepare for local development, clone this repo, and then install
0 commit comments