feat: 添加源码

This commit is contained in:
luodandan
2026-02-07 12:51:12 +08:00
commit 5d98fa6113
233 changed files with 21716 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import Vue from 'vue'
import SvgIcon from './SvgIcon'// svg component
// register globally
Vue.component('svg-icon', SvgIcon)
// 进行导入所有的svg格式 如果手动引入 需要依次引入
const req = require.context('./svg', false, /\.svg$/)
const requireAll = requireContext => requireContext.keys().map(requireContext)
requireAll(req)