This package is not under active development. You can find our latest packages in the sensenset/sn-client monorepo.
Document viewer component for sensenet ECM
- Clone this repository with
git clone https://github.com/SenseNet/sn-document-viewer-react.git
and open the created directory withcd sn-document-viewer-react
- Install the dependencies:
npm install
- Start the development server with the
npm run start
command - You can open the app in your browser on the http://localhost:8080/ address by default
You will need a preconfigured sensenet ^7.0.0 backend with preconfigured CORS settings and a document with generated previews and open permission to try the component.
You can check out our sn-dms-demo application for an example how to use the Document Viewer component in your React / Redux application.