@girder/dicom-viewer

A Vue.js component for viewing DICOM items in Girder.
619
Install
npm install @girder/dicom-viewer
Latest Version:1.1.0
Vue:2
Last Updated:Nov 14, 2019
Links: npm
Maintainer: brianhelba

DICOM Vuer

A Vue.js component for viewing DICOM items in Girder.

Usage

The vuetify and @girder/components npm packages are expected in your downstream environment. Vuetify is expected to be installed in the Vue environment at runtime, and girderRest must be injected into this component, and the easiest way to do that is to inject a RestClient instance. However, you could pass any axios instance that is properly configured to communicate with the API. If you do the latter, you do not need to install @girder/components as a peer dependency.

<script>
import GirderDicomViewer from '@girder/dicom-viewer';

export default {
  components: { GirderDicomViewer },
  data: () => ({
    files: [],
  }),
}
</script>

<template>
v-app
  girder-dicom-viewer(:files="files")
</template>

Related Packages

@girder/components

Try the demo app. It works with data.kitware.com.

20,453

Version History

Version Released Vue License
1.1.0 ^2.6.10
1.0.0 ^2.6.10
0.88888888.0 ^2.6.10
0.7.0 ^2.6.10
0.6.0 ^2.6.10