添加前端基本功能

This commit is contained in:
kerwincui
2021-05-10 11:47:48 +08:00
parent 9736630b40
commit bdab3b38ad
262 changed files with 22883 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
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 requireAll = requireContext => requireContext.keys().map(requireContext)
requireAll(req)