VTK.js image viewport component for React
This project consumes
vtk.js as an ES6 dependency. If you're unsure of how to consume
vtk.js as an ES6 dependency, please check out Kitware's guide.
# With NPMnpm install --save react-vtkjs-viewport vtk.js# With Yarnyarn add react-vtkjs-viewport vtk.js
Local development uses
<root>/examples as a test application. You can import
the VTK Viewport using a WebPack alias like so:
import VtkViewport from '@vtk-viewport'
Any updates to the example files or the VtkViewport's source will cause WebPack to rebuild.
# Restore Dependenciesyarn install# Start Local Dev Serveryarn run dev
MIT © OHIF