Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 389 Bytes

SYSTEMJS.md

File metadata and controls

21 lines (17 loc) · 389 Bytes

In your system.config.js

Append to map

var map = {
    ...
    'ng2-pdf-viewer': 'node_modules/ng2-pdf-viewer',
    'pdfjs-dist': 'node_modules/pdfjs-dist'
}

and then add to packages

var packages = {
    ...
    'ng2-pdf-viewer': { main: 'dist/pdf-viewer.component.min.js', defaultExtension: 'js' },
    'pdfjs-dist': { defaultExtension: 'js' }
}