这里记录下自己在Vue3+vite的项目使用unplugin-vue-components/vite来自定义组件自动全局引入svg雪碧图组件,不使用ts语法,方便以后直接使用。这里承接自己的博客[Vue3+vite搭建基础架构(11)--- 菜单栏功能和Tab页功能实现](https://blog.csdn.net/weixin_48040732/article/details/136182389)这篇博客,在该博客项目的基础上增加使用unplugin-vue-components/vite来使组件全局引用