Replies: 1 comment 6 replies
-
Plugins lifecycles allow you to add such head tags: Take a look at some plugins such as the gtag/gtm ones for inspiration.
The I don't know what |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is similar to Custom index.html but instead of my custom HTML, I want to modify it at build time to add script and styles.
I have this code:
and the
Interpreter
is used in src/pages/index.tsx.What I would expect is the HTML code to have the script I have in
<Head>
.Is there a way to have my script and styles in the output HTML file for index.html when building the project? I have some runtime JavaScript that is outside of React.
Beta Was this translation helpful? Give feedback.
All reactions