Skip to content

Commit 2cf3460

Browse files
authored
Merge pull request #1006 from dnum-mi/docs/corrections-8.0.0
docs: 📝 corrige un oubli pour import collections
2 parents b08d00c + 833bc95 commit 2cf3460

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/guide/icones.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,10 @@ Avec cette modification, il est possible d’ajouter des collections d’icônes
177177
export default collections
178178
```
179179
- ajouter les collections dans votre point d’entrée (généralement `src/main.ts`) :
180+
180181
```ts
181182
// (...)
182-
import collections from './icon-collections.js'
183+
import { collections } from './icon-collections.js'
183184
// (...)
184185

185186
for (const collection of collections) {

0 commit comments

Comments
 (0)