Skip to content

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

Notifications You must be signed in to change notification settings

roblib/mirador-integration-islandora

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.9%
  • HTML 40.1%