-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nuxt 3 "generate" results in <font-awesome-icon /> to output whatever follows twice #384
Comments
I found a workaround, which is to enclose the |
Same issue, wrapping it in a span is a short term solution. fa pro team pls address this, we're paying customers. |
Have you tried avoiding self-closing tags?
And I cannot download your reproduction. Can you check that please? |
For me i have to do something like this to make sure text to the right of it is not displayed twice.
seems quite inconvenient and hacky to do so. |
I am having the same issue and also gettings alot of logs like this from nuxt server side and also wrapping it doesn't do any good to me.
|
I am having this same issue. Getting the log error like this one but the icon is working on local and when deployed to Vercel. Wrapping in a Span did fix the doubling problem for whatever came after the icon. |
Any update on this please ? |
wrap it in a span is the current hacky solution. |
I've posted a possible solution to this issue on Stack Overflow: https://stackoverflow.com/a/74999711/4415734 |
Describe the bug
I am using this component with Nuxt 3 as described here and I'm seeing this weird behaviour. Say I have something like this
if I run the dev server, everything is fine, but if I run
generate
and serve the output through a static HTTP server, I get "Example" printed twice. If I wrap the text in a tag, I get the tag and text twice (i.e.<span>Example</span><span>Example</span>
). Weirdly enough, though, the generated HTML does not contain the repetition, so I suspect something weird is going on in the browser.Reproducible test case
https://andreafranceschini.org/files/afnuxt.tgz
Expected behavior
A clear and concise description of what you expected to happen.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: