79694601

Date: 2025-07-08 17:25:57
Score: 2
Natty:
Report link

Sorry if this doesn't make sense (I'm 2 days into my Next.js self learning) but can't you just use the route:

pages/[language]/[app-slug]

and then in the page script:

export default function Page({ params }){

const {app-slug} = use(params)

Script.load({app-slug}+".js");

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Chris Hansen