Next.js Discord

Discord Forum

script or Script

Unanswered
Styrian Coarse-haired Hound posted this in #help-forum
Open in Discord
Styrian Coarse-haired HoundOP
when taking a regular local ts file from ./public/ts, is it the best practice to use Script tag from NextJS, or is script tag okay? I have seen examples of Script tag being used on third party scripts, but not so much on local scripts, so my question is which one is better for running local scripts?

0 Replies