sensenset/sn-client monorepo.This package is not under active development. You can find our latest packages in the
Document viewer component for sensenet ECM
Running the example application
- Clone this repository with
git clone https://github.com/SenseNet/sn-document-viewer-react.gitand open the created directory with
- Install the dependencies:
- Start the development server with the
npm run startcommand
- 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.
Usage and installation
You can check out our sn-dms-demo application for an example how to use the Document Viewer component in your React / Redux application.