npm install --save-dev @iconify/vue
import { createApp } from "vue";
import App from "./App.vue";
import { Icon } from "@iconify/vue";
const app = createApp(App);
app.component("Icon", Icon);
app.mount("#app");
<Icon icon="carbon:running" width="42" height="42" />