feat: vite-plugin-icons
This commit is contained in:
1 parent
8f18c8cc69
commit
bbb1392db8
12 files changed
+67
-145
No files matched your search
@@ -3,12 +3,8 @@
|
||||
Components in this dir will be auto-registered and on-demand, powered by [`vite-plugin-components`](https://github.com/antfu/vite-plugin-components).
|
||||
|
||||
|
||||
### `Icon.vue`
|
||||
### Icons
|
||||
|
||||
You can uses Icons with the following syntax
|
||||
You can uses icons from almost any icon sets by the power of [Iconify](https://iconify.design/).
|
||||
|
||||
```html
|
||||
<Icon icon='mdi:account'/>
|
||||
```
|
||||
|
||||
The icon id follows the rules in [Iconify](https://iconify.design/) which you can use any icons from the supported icon sets. It will only bundles the icons you use, check out [PurgeIcons](https://github.com/antfu/purge-icons) for more details.
|
||||
It will only bundles the icons you use, check out [vite-plugin-icons](https://github.com/antfu/vite-plugin-icons) for more details.
|
||||
Reference in new issue
Block a user