const Vue = require('yoho-vue'); const lazyload = require('yoho-vue-lazyload'); const exchange = require('home/exchange.vue'); require('common/vue-filter'); Vue.use(lazyload); new Vue({ el: '#exchange', components: { exchange } });