home.page.js
326 Bytes
const Vue = require('vue');
const lazyload = require('vue-lazyload');
const infinitScroll = require('vue-infinite-scroll');
const channel = require('channel/index.vue');
require('common/vue-filter')(Vue);
Vue.use(lazyload);
Vue.use(infinitScroll);
new Vue({
el: '#channel',
components: {
channel
}
});