import Vue , { CreateElement } from 'vue' ; import PhotoswipePlugin from '../src/main' ; import Sample from './sample.vue' ; Vue . use ( PhotoswipePlugin , { } ) ; new Vue ( { el : '#app' , components : { Sample , } , render : ( h ) => h ( Sample ) , } ) ;