Vue父组件引入子组件也可以这样

Vue父组件引入子组件也可以这样

components: { // representativeList,representativeExamination,representativeAppeal
            'representative-list': () => import('./components/representativeList'), // 代表队列表
            'representative-examination': () => import('./components/representativeExamination'), // 代表队审核
            'representative-appeal': () => import('./components/representativeAppeal'), // 代表队申诉
        },

你可能感兴趣的:(vue.js)