Vue - 基础学习(5):动态加载和注册组件
// var myComponent =() => import(`./../../components/custom_panel/${t_url}.vue`);
// //var myComponent = resolve => require.ensure([], () => resolve(require(`./../../components/custom_panel/${t_url}.vue`)));
// var myComponent = require(`./../../components/custom_panel/${t_url}.vue`).default;
// return myComponent;
// console.log(this.$options.components);
tempComponentList[value.tabsTitleValue] = () => import(`../../components/${value.componentPath}.vue`);