diff --git a/src/main.ts b/src/main.ts index 54adb12..935f529 100644 --- a/src/main.ts +++ b/src/main.ts @@ -7,6 +7,10 @@ Vue.config.productionTip = false; import ElementUI from 'element-ui'; Vue.use(ElementUI, {locale: 'en-us'}); +// Use picture-swipe +const VuePictureSwipe = require('vue-picture-swipe'); +Vue.component('vue-picture-swipe', VuePictureSwipe); + new Vue({ render: (h) => h(App), }).$mount('#app');