2.2.0 • Published 1 year ago
@c_to_the_x/ctz_vue_ui v2.2.0
快速导入
1. 下载
npm i @c_to_the_x/ctz_vue_ui2. Main.js中引入
import ctzUI from '@c_to_the_x/ctz_vue_ui
Vue.use(ctzUI)3. 使用
组件使用: 六个参数:svgString darwType color width heitht option ,前三个参数必填,宽高默认512
<ctz-svg :svgString="svg" :darwType="darwType" :color="color"></ctz-svg>option接收一个数组,表示需要监听事件的标签,默认是"path"