import redrcdChart from "./components/redrcdCharts.vue"
import Vue from 'vue'

const Components = {
	redrcdChart
}

Object.keys(Components).forEach(name => {
	Vue.component(name, Components[name])
})


// const install = function (Vue) {
// 	if (install.installed) return;
// 	components.map(component => Vue.component(component.name, component));
// }

// //判断是否直接引入文件
// if ( typeof window !== "undefined" && window.Vue ) {
// 	install(window.Vue)
// }

export default Components
