Next.js Script tag breaking my app
Working on a simple app to implement Office add-in via next-js. The thing is when I try to route between pages using the
<Link>
tag from Next.js, if there is a <Script>
present it just breaks my app. Script tag is placed on app/layout.tsx:
And the simple app/page.tsx
:
The error:
Console:
Any indea on what might be happening?0 Replies