chore: update PhotoSwipe import paths
- Change import for PhotoSwipeLightbox to 'photoswipe/lightbox' - Change import for PhotoSwipe to 'photoswipe' These updates reflect the new module structure of the PhotoSwipe library, ensuring that the controller utilizes the correct paths for improved functionality and maintainability.
This commit is contained in:
parent
905ec35fd8
commit
05449d1e7f
@ -1,6 +1,6 @@
|
|||||||
import { Controller } from "@hotwired/stimulus"
|
import { Controller } from "@hotwired/stimulus"
|
||||||
import PhotoSwipeLightbox from 'photoswipe/dist/photoswipe-lightbox.esm'
|
import PhotoSwipeLightbox from 'photoswipe/lightbox'
|
||||||
import PhotoSwipe from 'photoswipe/dist/photoswipe.esm'
|
import PhotoSwipe from 'photoswipe'
|
||||||
import 'photoswipe/dist/photoswipe.css'
|
import 'photoswipe/dist/photoswipe.css'
|
||||||
|
|
||||||
export default class extends Controller {
|
export default class extends Controller {
|
||||||
|
Loading…
Reference in New Issue
Block a user