mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
docs(icons): add app prefix to assets
This commit is contained in:
@@ -87,7 +87,7 @@ Read more about this in the `@nuxt/icon` documentation.
|
|||||||
|
|
||||||
You can use local SVG files to create a custom Iconify collection.
|
You can use local SVG files to create a custom Iconify collection.
|
||||||
|
|
||||||
For example, place your icons' SVG files under a folder of your choice, for example, `./assets/icons`:
|
For example, place your icons' SVG files under a folder of your choice, for example, `./app/assets/icons`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
assets/icons
|
assets/icons
|
||||||
@@ -104,7 +104,7 @@ export default defineNuxtConfig({
|
|||||||
icon: {
|
icon: {
|
||||||
customCollections: [{
|
customCollections: [{
|
||||||
prefix: 'custom',
|
prefix: 'custom',
|
||||||
dir: './assets/icons'
|
dir: './app/assets/icons'
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user