Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

When using nuxt 3.16 + nuxt/icon, creating a component named "TimeIcon" throws error 500

Open
#372 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
nuxt, typescript
Domain
frontend

Research direction

Start with the linked StackBlitz reproduction and compare Nuxt 3.16 with 3.15.4, both with and without nuxt/icon installed. Trace why using a component named TimeIcon produces the 500 error; done means the component renders successfully in the affected Nuxt 3.16 setup.

Written by the indexing model from the issue text.

Description

Ok, this is a weird one,

If we name a component TimeIcon (TimeIcon.vue), we get an error when trying to use it.

It doesn't seem to happen on nuxt 3.15.4 or without nuxt/icon installed.

Please see repro:

https://stackblitz.com/edit/github-hxgvxtk8?file=app%2Fpages%2Findex.vue

Cheers 👍

Dominant language
TypeScript
Stars
1.2k
Forks
97
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nuxt/icon

All issues in nuxt/icon

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.