Skip to content

lehigh-university-libraries/mirador-integration-islandora

 
 

Repository files navigation

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.

About

Examples of integrating Mirador 3 with modern frontend build systems, adapted for Islandora

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 62.9%
  • HTML 37.1%