@unumedai/react-vtkjs-viewport
v0.0.6
Published
VTK.js image viewport component for React
Downloads
4
Readme
unumed-react-vktjs-viewport
VTK.js image viewport component for React
Install
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 unumed-react-vktjs-viewport vtk.js
# With Yarn
yarn add unumed-react-vktjs-viewport vtk.js
Development
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
License
MIT © OHIF