Javascript – How to use Script with next js 13
I need to import a pure javascript script in my next js app like this : import Script from "next/script"; <Component {...pageProps} /> <Script id="raychat-widget" strategy="afterInteractive" dangerouslySetInnerHTML={{ __html: ` window.RAYCHAT_TOKEN = "Token"; (function () { const d = document; const…