docs(icons): add app prefix to assets

This commit is contained in:
Benjamin Canac
2025-07-17 10:56:08 +02:00
parent 6ca7c8b7bf
commit 5db3b0f98c

View File

@@ -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'
}] }]
} }
}) })