Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.09 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.09 KB

react-vtkjs-viewport-custom

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

For more details go to: NPM FOSSA Status

Install

# With NPM
npm install --save react-vtkjs-viewport-custom

# With Yarn
yarn add react-vtkjs-viewport-custom

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