home.page.js 557 Bytes
const Vue = require('yoho-vue');
const lazyload = require('yoho-vue-lazyload');
const qs = require('yoho-qs');
const contentCode = require('content-code');

const tab = require('channel/tab.vue');
const resources = require('component/resources/index.vue');

require('common/vue-filter');

Vue.use(lazyload);

new Vue({
    el: '#channel',
    data() {
        return {
            page: 'channel',
            contentCode: contentCode.channel[qs.channel || 'men']
        };
    },
    components: {
        tab: tab,
        resources: resources
    }
});