You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// these opts can be imported from "@alanscodelog/vue-components/helpers/unpluginIconViteOptions.js"
52
+
// changes the default styling slightly
53
+
Icons(unpluginIconViteOptions),
54
+
]
42
55
}
43
-
44
56
```
45
57
58
+
## Icons
59
+
60
+
This library uses unplugin-icons to provide icons. You will need to install `@iconify/json` or install the used icon packs (various are used, depending on the component).
61
+
62
+
46
63
# Usage with Vite
47
64
48
65
In `main.ts` or where vue is mounted:
@@ -62,15 +79,11 @@ createApp(App)
62
79
.use(VueComponentsPlugin) //use plugin
63
80
64
81
```
65
-
In the vite config, vue will require the experimental defineModel:
82
+
In the vite config, vue will require the experimental defineModel and the unplugin icons config:
0 commit comments