0.0.17 • Published 2 years ago
@uinified/icons v0.0.17
icons
Getting started
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
Already a pro? Just edit this README.md and make it your own. Want to make it easy? Use the template at the bottom!
Nuxt 3 plugin
// file: plugins/icons.ts
import { Icon, disableCache, addIcon } from "@iconify/vue";
import { uilPlaceholder } from "@uinified/icons/line-icons";
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.component("Icon", Icon);
addIcon("@uinified:line:placeholder", uilPlaceholder);
addCollection(reducedIconSet as IconifyJSON, "uinified");
disableCache("all");
});