We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 347b439 commit ece66a4Copy full SHA for ece66a4
README.md
@@ -31,3 +31,20 @@ The following scripts are available in `package.json`:
31
- **UMD Bundle:** For StandaloneSession, exposed as the `VTK` namespace for use in browser environments.
32
33
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
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