Next.js Discord

Discord Forum

small trouble when migration from CRA

Unanswered
Manx posted this in #help-forum
Open in Discord
ManxOP
I had a MathJax config script I was loading from public/index.html. I picked this up from [here](https://docs.mathjax.org/en/latest/web/configuration.html#configuration-using-an-in-line-script). Now I've moved most of the things in the original index.html to my layout.js file and the app is working all right. All I'm having trouble with is just this one script.


I tried to use the next/script's `<Script/> but that didn't really make a lot of difference. So I am seeking help from some of the experience devs on how I can solve this issue.

0 Replies