PhotoSwipe demo built with vue
npm install --save vue-photoswipe
PhotoSwipe demo built with vue
PhotoSwipe demo built with vue
npm install --save vue-photoswipe
npm run build
ERROR in static/js/vendor.752039dd5729f04bd981.js from UglifyJs
Unexpected token: name ($vm) [./~/vue-photoswipe/src/index.js:3,0][static/js/vendor.752039dd5729f04bd981.js:25554,4]
Hi, I use your app in my project and it works well. Although there is two improvement I would suggest.
First, please do not hardcode the const thumbnail
with one class, this will allow having multiple galleries on the page.
Second, is it possible to use <router-link>
in the HTML slide? I've tried looks like not but maybe you'll find a way it is your component :) will be very appreciated.
thanks for your plugin! finally a photoswipe vuejs plugin :)
how about adding options? so the gallery can be customized? like minimal/full version
cheers max
babel-preset-es2015 is now deprecated, babel-preset-env is now the new and recommended plugin package. #7
Be great to have events. I realise PhotoSwipe has moved to v5, but this repo is still handy for those using v4.
在ios9系统下,不支持ES6的 let
/const
关键字 语法?
官方说明
https://caniuse.com/#search=let
是否改为 var
来定义变量? 或者编译过程中处理?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.