vuetifyjs / vuetifyjs/nuxt-module
Object literal may only specify known properties, and 'mdi' does not exist in type
Open
Nobody has claimed this yet.
area: icons
area: types
bug
priority: p3: medium
- Dominant language
- TypeScript
- Stars
- 286
- Forks
- 35
- Avg merge
- 5d 21h
- Merged PRs (30d)
- 4
Description
vuetify: {
vuetifyOptions: {
icons: {
defaultSet: 'mdi',
aliases,
sets: {
custom,
mdi,
},
},
},
Object literal may only specify known properties, and 'mdi' does not exist in type 'IconFontName[] | FontIconSet[]'.ts(2353)
(property) mdi: IconSet
https://nuxt.vuetifyjs.com/guide/
https://vuetifyjs.com/en/features/icon-fonts/#usage
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the configuration shown in the Nuxt Vuetify module guide and compare it with Vuetify's icon-font usage documentation. Trace the TypeScript type for vuetifyOptions.icons.sets and determine what must change so the shown mdi configuration type-checks without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxtjs, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100