21 lines
532 B
JavaScript
21 lines
532 B
JavaScript
// import Vue from 'vue'
|
|
// import SvgIcon from '@/components/SvgIcon'// svg component
|
|
|
|
// // register globally
|
|
// Vue.component('svg-icon', SvgIcon)
|
|
|
|
// // const req = require.context('./svg', false, /\.svg$/)
|
|
// const modules = import.meta.globEager('./svg/*.svg')
|
|
// const requireAll = requireContext => {
|
|
// debugger
|
|
// Object.keys(requireContext).map(requireContext)
|
|
// }
|
|
// requireAll(modules)
|
|
|
|
// for (const path in modules) {
|
|
// debugger
|
|
// modules[path]().then((mod) => {
|
|
// console.log(path, mod)
|
|
// })
|
|
// }
|