app.page.js
310 Bytes
/**
* Created by PhpStorm.
* User: Targaryen
* Date: 2016/7/22
* Time: 20:20
*/
const Vue = require('vue');
const lazyload = require('vue-lazyload');
const appBox = require('example/app-box.vue');
new Vue({
el: '#app',
components: {
appBox
}
});
Vue.use(lazyload, { preLoad: 3 });