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 NPM
npm install --save react-vtkjs-viewport vtk.js
# With Yarn
yarn 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 Dependencies
yarn install
# Start Local Dev Server
yarn run dev
MIT © OHIF