Skip to content

Commit ece66a4

Browse files
committed
fix: use ci to trigger release
1 parent 347b439 commit ece66a4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,20 @@ The following scripts are available in `package.json`:
3131
- **UMD Bundle:** For StandaloneSession, exposed as the `VTK` namespace for use in browser environments.
3232

3333
Refer to the `package.json` for the full list of scripts and configuration details.
34+
35+
### ESM imports
36+
37+
```js
38+
import { RemoteSession } from "@kitware/vtk-wasm/remote.js"
39+
import { createVtkObjectProxy, createNamespace } from "@kitware/vtk-wasm/vtk.js"
40+
import { ExportViewer, createViewer } from "@kitware/vtk-wasm/viewer.js"
41+
```
42+
43+
### UMD imports
44+
45+
```js
46+
import "@kitware/vtk-wasm/viewer.css";
47+
import "@kitware/vtk-wasm/viewer-umd.js";
48+
49+
import "@kitware/vtk-wasm/vtk-umd.js";
50+
```

0 commit comments

Comments
 (0)