Package Exports
- @mecenas/pan360-viewer
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mecenas/pan360-viewer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
pan360-viewer
Since the three.js is already bundled with this npm package, do the following -
import { Pan360View, Pan360Conf, Hotspot } from 'pan360-viewer';
this.panView = new Pan360View(conf:Pan360Conf,ready:Function);
<div id="panorama-360-viewer"></div>
on your html page.