Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 372 Bytes

File metadata and controls

22 lines (16 loc) · 372 Bytes

Vue

npm install --save img-comparison-slider
import Vue from 'vue';
import App from './App.vue';

// Import the library
import 'img-comparison-slider';

Vue.config.productionTip = false;

// Tell Vue that the web component is present.
Vue.config.ignoredElements = [/img-comparison-slider/];

new Vue({
  render: (h) => h(App),
}).$mount('#app');