This is a copy from original
react-vtkjs-viewport
. This changes the strategy of bundling packages. I.e. it bundles vtkjs within it. VTK.js image viewport component for React
# With NPM
npm install --save react-vtkjs-viewport-custom
# With Yarn
yarn add react-vtkjs-viewport-custom
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