Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.04 KB

README.md

File metadata and controls

36 lines (22 loc) · 1.04 KB

Islandora Additions

This is a fork of the demonstration project at https://github.com/ProjectMirador/mirador-integration. This project adapts the code to work within Drupal for the Islandora project.

The main differences are

  1. Adding a few more plugins, and
  2. Invoking Mirador is done in the islandora_mirador Drupal module.

Integrating Mirador

This repository is designed to show integrating Mirador 3 with modern frontend build systems.

Dependencies

The dependencies are listed in package.json.

TO install them, run:

npm install

Webpack

Webpack is used to build the app for use by Islandora

See ./webpack for a basic webpack setup for Mirador 3 + a plugin.

npm run webpack

The output folder webpack/dist should now contain a file main.js which you can place in your drupal installation under [webroot]/libraries/mirador/dist.

You can then go to /admin/config/media/mirador and set it to use the local version after clearing your site's cache.