-
Notifications
You must be signed in to change notification settings - Fork 65
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
Configuring <head> content in x0 config creates multiple <head> tags in static build #71
Comments
Thanks for reporting this! We dug into this a little bit but couldn't reproduce on our end. By the looks of this, I suspect it might be something related to the way v4 worked (i.e. attempting to render to the root document). Could you try clearing out your build folder and checking to see if the components in your current setup are doing this? It could also be helpful to have an example of what you have in the component that you're rendering and in the |
Of course! I forgot to mention also that we are running version 5.0.8. FWIW I ended up just adding a Here's what our
And here's that
|
Thanks! I'm not seeing anything that looks like it'd be duplicating the Generally I'd suggest not putting a FWIW, another alternative to adding head options in the package.json is to supply a custom template |
Hey 👋
We're using the configurable
<head>
content feature to link to our CSS builds and change the<meta>
tags like so:This is working as expected locally, but the static builds contain two
<head>
tags, the correct one nested under a<div id='root'>
. When deployed the second<head>
tag gets stripped out and none of our styles appear.Here's what the static build in the build folder's index.html looks like:
The text was updated successfully, but these errors were encountered: