@element-plus-ui/pro-icon
v1.1.0
Published
🏆 Use Element Plus Icon like a Pro!
Maintainers
Readme
📦 安装
$ npm install @element-plus-ui/pro-icon
$ yarn add @element-plus-ui/pro-icon
$ pnpm add @element-plus-ui/pro-icon
🔨 使用
🚀 全局引用
import { createApp } from "vue";
import App from "./src/App.vue";
import ProIcon from "@element-plus-ui/pro-icon";
const app = createApp(App);
app.mount("#app").use(ProIcon);
🚀 按需使用
<template>
<pro-icon name="ArrowDown"/>
<pro-icon name="ChatRound" :size="20"/>
<pro-icon name="ArrowLeft" :color="'#409efc'"/>
</template>
<script setup lang="ts">
import ProIcon from "@element-plus-ui/pro-icon";
</script>