icon
icon copied to clipboard
The <Icon> component, supporting Iconify, Emojis and custom components.
I don't have a whole lot of info for this issue other than when in `mode: 'css'` it spits out ``` Uncaught (in promise) DOMException: Failed to read the 'cssRules'...
> Oh it's > > ```ts > export default defineNuxtConfig({ > modules: [ > 'nuxt-icon', > ], > icon: { > componentName: 'NuxtIcon', > }, > }) > ``` Hi,...
After integrating `@nuxt/icon` into my project, I noticed a significant increase in the build size from approximately **2MB** to **14MB**. This issue persists even though I am not using any...
I got the exception when i use the @nuxt/icon and nuxt-icon 1.0.0-beta.7, I just try both version. And I got the same error. here is the dependencies "dependencies": { "big.js":...
Many modern browsers apply CORS rules to stylesheets. Accessing a stylesheet from a different origin may lead to DOM exceptions. It's not uncommon for some browser extensions to inject external...
Closes #185 Adds a `localApiEndpoint` setting to the module options to allow the default server handler path to be overridden. This is useful in situations where the default `/api` prefix...
`` returns  **App.config.ts** ``` // https://github.com/nuxt-modules/icon#configuration-%EF%B8%8F export default defineAppConfig({ icon: { size: "300%", // default size applied class: "icon", // default class applied mode: "css", // svg || css...
After installing an `@iconify-json/*` package (`@iconify-json/mdi` in my scenario), the following error gets spit out when the `/api/_nuxt_icon/:collection` endpoint is called  It seems to be caused by the dynamic...
Currently, icons are fetched from `/api/_nuxt_icon/[collection].json`, however, `/api` as a base path is commonly reserved for application-level APIs. https://github.com/nuxt/icon/blob/85a0e7b940725561f35656d75a99179f88cecef8/src/module.ts#L55-L58 It's not uncommon for larger applications with independent frontends and backends...