zyz-image
Version:
A Vue.js project
25 lines (21 loc) • 511 B
JavaScript
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueImage from './plugin/vue-image'
Vue.use(VueImage, {
width: 30,
height: 30,
debounce: 1000,
methods: 'getNum',
type: 'vue_list'
})
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
components: { App },
template: '<App/>'
})