import Vue from 'vue'
import CmsSvgIcon from '@/comps/CmsSvgIcon/CmsSvgIcon' // svg组件

// register globally
Vue.component('cms-svg-icon', CmsSvgIcon);

const req = require.context('./svg', false, /\.svg$/);
const requireAll = requireContext => requireContext.keys().map(requireContext);
requireAll(req);
