Auto import of customized component name
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- nuxtjs, typescript
- Domain
- frontend
Research direction
Start with the componentName setting in nuxt.config.ts and reproduce the NuxtIcon usage shown in the issue with the listed package versions. Trace how the customized component name is handled for auto-imports, then verify that is registered or that the supported explicit-import configuration is documented.
Written by the indexing model from the issue text.
Description
I have customized component name in nuxt.config.ts as mentioned here:
https://nuxt.com/modules/icon
icon: {
componentName: 'NuxtIcon'
},
However use of component doesn't seem to register auto import of the component:
<NuxtIcon name="lucide:newspaper" />
"@iconify-json/lucide": "^1.2.71",
"@nuxt/icon": "^2.1.0",
"nuxt": "^3.12.1",
"vue": "^3.3.8",
I already have another custom component Icon used for something else.
Anything else I neeed to configure or can I explicit import the component?
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 97
- Avg merge
- 4d 20m
- Merged PRs (30d)
- 12
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from nuxt/icon
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
nuxt/icon#492 · 1 comment · 2 reactions ·
Maintainers usually reply within 1 day
-
Create docs websiteOpen
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
Similar issues
-
[Bug]: Device screenshot fails with 500 on iPhone Duo (Xcode 27.2): serve-sim calls simctl without --displayPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
pingdotgg/t3code#24900 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
inu-appcenter/UNIDorm-web#411 ·
Maintainers usually reply within 1 day
-
🐛 bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
ranxianglei/billion-context#4720 ·
Maintainers usually reply within 1 day
-
area:arcade game p3-medium ready-for-agent type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
fderuiter/deruiter.dev#2840 ·
Maintainers usually reply within 1 day