@@ -9,7 +9,7 @@ Access thousands of icons as components **on-demand** universally.
99- 🌏 Universal
1010 - 🤹 ** Any** icon sets - ~ 150 popular sets with over 200,000 icons, logos, emojis, etc. Powered by [ Iconify] ( https://github.com/iconify/iconify ) .
1111 - 📦 ** Major** build tools - Vite, Webpack, Rollup, Nuxt, Rspack, etc. Powered by [ unplugin] ( https://github.com/unjs/unplugin ) .
12- - 🚀 ** Major** frameworks - Vanilla, Web Components, React, Vue 3, Vue 2, Solid, Svelte, and more. [ Contribute] ( ./src/core/compilers ) .
12+ - 🚀 ** Major** frameworks - Vanilla, Web Components, React, Vue 3, Solid, Svelte, and more. [ Contribute] ( ./src/core/compilers ) .
1313 - 🍱 ** Any** combinations of them!
1414- ☁️ On-demand - Only bundle the icons you really use, while having all the options.
1515- 🖨 SSR / SSG friendly - Ship the icons with your page, no more FOUC.
@@ -458,9 +458,9 @@ See [the Astro + Vue example](examples/astro-vue) for a working example project.
458458###### Frameworks
459459
460460<details >
461- <summary >Vue 3 / Vue 2.7+ </summary ><br >
461+ <summary >Vue 3</summary ><br >
462462
463- Vue 3 / Vue 2.7+ support requires peer dependency ` @vue/compiler-sfc ` :
463+ Vue 3 support requires peer dependency ` @vue/compiler-sfc ` :
464464
465465> Note that as of Vue 3.2.13+, this is no longer required as it is now included as a dependency of the main ` vue ` package.
466466
@@ -491,38 +491,6 @@ See [the Vue 3 example](examples/vite-vue3) for a working example project.
491491
492492<br ></details >
493493
494- <details >
495- <summary >Vue 2 (only for versions < 2.7)</summary ><br >
496-
497- Vue 2 support requires peer dependency ` vue-template-compiler ` :
498-
499- ``` bash
500- npm i -D vue-template-compiler
501- ```
502-
503- ``` ts
504- Icons ({ compiler: ' vue2' })
505- ```
506-
507- Type Declarations
508-
509- <!-- eslint-skip -->
510-
511- ``` jsonc
512- // tsconfig.json
513- {
514- " compilerOptions" : {
515- " types" : [
516- " unplugin-icons/types/vue" ,
517- ]
518- }
519- }
520- ```
521-
522- See [ the Vue 2 example] ( examples/vite-vue2 ) for a working example project.
523-
524- <br ></details >
525-
526494<details >
527495<summary >React</summary ><br >
528496
@@ -1107,15 +1075,15 @@ Icons({
11071075 scale: 1.2 , // Scale of icons against 1em
11081076 defaultStyle: ' ' , // Style apply to icons
11091077 defaultClass: ' ' , // Class names apply to icons
1110- compiler: null , // 'vue2', ' vue3', 'jsx'
1078+ compiler: null , // 'vue3', 'jsx'
11111079 jsx: ' react' , // 'react' or 'preact'
11121080})
11131081```
11141082
11151083## Auto Importing
11161084
11171085<details >
1118- <summary >Vue 2 & 3</summary ><br >
1086+ <summary >Vue 3</summary ><br >
11191087
11201088Use with [ ` unplugin-vue-components ` ] ( https://github.com/antfu/unplugin-vue-components )
11211089
0 commit comments