An icon name doesn't exist
jjaimealeman opened this issue · comments
Hi, that's great pleasure to see someone liking my project, I fixed the issue please clone the project again or just remove i-carbon-exclamation
from src\pages\components\icons.vue
what did you run as command? since I don't get that error when I run pnpm run dev
pnpm run build
is the one that produces the error.
Here is a video/cast output for you https://asciinema.org/a/h2Jk1dyMCUYPchh3YUiXU7YtD
I've found the where the issue comes from, I've a wrong element name <class i-carbon-copy size="1em" />
in icons page, it's a stupid typo, I just changed to span
and the error is gone, I gonna push the changes
How did you find <class i-carbon-copy size="1em" />
was the cause? Am impressed! :D
By the way, pnpm run build
ran with out issue.
The weakmap used in this tool takes a valid html element name like div
, span
..., class
is not a valid one, please don't forget to star the project if you've not done that yet