摘要: 1.使用vue-cli3.0脚手架运行搭建一个项目,我的项目目录如下: 2.在components文件下新建SvgIcon组件 文件中的代码如下: <template> <svg :class="svgClass" aria-hidden="true" v-on="$listeners"> <use 阅读全文
posted @ 2020-02-25 14:39 机智的蛋炒饭 阅读(1777) 评论(0) 推荐(0) 编辑