npm i pr-icon
import PrIcon from 'pr-icon'
app.use(PrIcon)
import { PrIcon } from 'pr-icon'
<div id="app">
<pr-icon></pr-icon>
</div>
const props = defineProps({
// 图标名称
name: {
type: [String],
default: () => 'pryun'
},
// 图标颜色
color: {
type: [String],
default: () => ''
},
// 图标大小
size: {
type: [String, Number],
default: () => 28
}
})
breathe