private-npm
Install FotoSwipe Pro from a private npm registry
Prerequisites
- Your license key (trial or paid)
- Access to the private registry URL (provided after purchase/trial)
.npmrc setup
@your-scope:registry=https://registry.your-domain.tld
//registry.your-domain.tld/:_authToken=${PSWP_PRO_KEY}
Install
npm install photoswipe-pro
Import
import { createAiSeoPlugin } from 'photoswipe-pro/src/pro/ai/plugin.js';
ZIP fallback (offline environments)
- Download the ZIP from your customer portal and unpack into
vendor/photoswipe-pro/
. - Update imports accordingly.