Skip to content

Conversation

@jspanchu
Copy link
Member

  • Depends on Add npm package vtk-wasm#14
  • Deleted js-lib directory including package.json, vite configuration files, and related build scripts.
  • Updated vue-components package.json to include @kitware/vtk-wasm as a dependency.
  • Refactored VtkLocal component to import RemoteSession from @kitware/vtk-wasm.
  • Removed remote.js, standalone.js, viewer.js, wasmLoader.js, style.css from vue-components.
  • Updated viewer.js to remove ExportViewer class and related functionality.

@jspanchu jspanchu requested a review from jourdain August 12, 2025 14:45
@jourdain
Copy link
Collaborator

Change seems reasonable. We just need to test it once the package is published.

@jspanchu
Copy link
Member Author

I published to my namespace in https://www.npmjs.com/package/@jspanchu/vtk-wasm?activeTab=readme and tested that in trame-vtklocal by replacing kitware with jspanchu. It worked.

- Deleted js-lib directory including package.json, vite configuration files, and related build scripts.
- Updated vue-components package.json to include @kitware/vtk-wasm as a dependency.
- Refactored VtkLocal component to import RemoteSession from @kitware/vtk-wasm.
- Removed remote.js, standalone.js, viewer.js, wasmLoader.js, style.css from vue-components.
- Updated viewer.js to remove ExportViewer class and related functionality.
@jspanchu jspanchu merged commit 42ef35d into master Aug 13, 2025
4 checks passed
@jspanchu jspanchu deleted the use-vtk-wasm-npm branch August 13, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants