cool-vue-icons 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# cool-vue-icons
|
|
2
2
|
|
|
3
3
|
Biblioteca de iconos como componentes Vue (Vue 3 + TypeScript). Incluye más de 440 iconos listos para usar.
|
|
4
4
|
|
|
5
5
|
## 📦 Instalación
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install
|
|
8
|
+
npm install cool-vue-icons
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## 🚀 Uso
|
|
@@ -18,7 +18,7 @@ Registra todos los iconos globalmente en tu aplicación Vue:
|
|
|
18
18
|
// main.ts o main.js
|
|
19
19
|
import { createApp } from 'vue'
|
|
20
20
|
import App from './App.vue'
|
|
21
|
-
import IconLibrary from '
|
|
21
|
+
import IconLibrary from 'cool-vue-icons'
|
|
22
22
|
|
|
23
23
|
const app = createApp(App)
|
|
24
24
|
app.use(IconLibrary)
|
|
@@ -44,7 +44,7 @@ Importa solo los iconos que necesites:
|
|
|
44
44
|
|
|
45
45
|
```vue
|
|
46
46
|
<script setup>
|
|
47
|
-
import { IconArrowDown, IconCalendar, IconBell, IconUser } from '
|
|
47
|
+
import { IconArrowDown, IconCalendar, IconBell, IconUser } from 'cool-vue-icons'
|
|
48
48
|
</script>
|
|
49
49
|
|
|
50
50
|
<template>
|
|
@@ -61,7 +61,7 @@ import { IconArrowDown, IconCalendar, IconBell, IconUser } from 'icons-cool-vue'
|
|
|
61
61
|
|
|
62
62
|
```vue
|
|
63
63
|
<script setup>
|
|
64
|
-
import IconArrowDown from '
|
|
64
|
+
import IconArrowDown from 'cool-vue-icons/src/icons/IconArrowDown.vue'
|
|
65
65
|
</script>
|
|
66
66
|
|
|
67
67
|
<template>
|
|
@@ -2311,7 +2311,7 @@ La librería incluye más de 440 iconos organizados en categorías:
|
|
|
2311
2311
|
|
|
2312
2312
|
```vue
|
|
2313
2313
|
<script setup>
|
|
2314
|
-
import { IconArrowDown, IconCalendar, IconBell } from '
|
|
2314
|
+
import { IconArrowDown, IconCalendar, IconBell } from 'cool-vue-icons'
|
|
2315
2315
|
</script>
|
|
2316
2316
|
|
|
2317
2317
|
<template>
|