Replies: 1 comment
-
Let me explain why I need to use Script's before Interactive in non document files under page routing, because our project version was previously Next12, but now it has been upgraded to Next14. I don't want to change the original SEO logic, which means the server will render the structured data of the Script and put it in the source code. If I want to change it all to be in the document file, my SEO logic will also need to be changed, which would be very troublesome |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
When I use the built-in component Script, strategy=beforeInteractive, I am the pages routing structure, version Next12. I injected some SEO structured elements into this Script tag, but now I have upgraded to Next14, and the strategy=before Interactive can only be placed in the d_document file. However, I do not want to place it in the d_document file because some of the structured value logic will be changed to take values in the d_document. Therefore, I will keep the structured elements as they were before. Is there any problem
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions