Vjacheslav Trushkin

Results 269 comments of Vjacheslav Trushkin

Even though your code uses imports, looks like they are compiled to CommonJS, in which case it cannot use ES modules. There are several solutions: 1. Switch to ES. It...

Published update for Vue component, it should fix import from `dist/offline`, pointing to .mjs file for ES import, to .js when used with require(). As for last error, it is...

If you want to use offline component, there is an alternative: https://github.com/antfu/unplugin-icons It is built by one of Vue core developers, uses Iconify for icon data. My component is more...

It was planned, but then I've messed it up by turning it into unmaintainable spaghetti code. Currently in process of rewriting it all for the 3rd time, so it will...

API has been rewritten, new version with icon search engine is available here: https://github.com/iconify/api Documentation is available here: https://docs.iconify.design/api/ and it includes documentation for API queries, including queries needed for...

Not by default, but it probably can be done. Icons are stored by keywords, so this would require mapping characters to keywords. List used by parser is available here: https://unicode.org/Public/emoji/13.1/emoji-test.txt...

Not right now. Unfortunately source icons with stroke that are used to generate various weights are not available, Google developers published only finished icons that use fill. This means there...

Data is loaded from API. Documentation for API: https://docs.iconify.design/api/ Yes, there is cache. 1. API responses are cached in `localStorage` or `sessionStorage`, depending on configuration. By default its `localStorage`. See...

Unfortunately SSR has been a major pain. Solution is to switch to web component `@iconify-icon/react`. It is the same as `@iconify/react`, but uses web component that is rendered only in...