Next.js Discord

Discord Forum

Where should dashboard.js be placed!!

Answered
American Kestrel posted this in #help-forum
Open in Discord
American KestrelOP
In the new Nextjs, router is different. In this example, I dont understand where to place the dashboard file, if im in app/page.js now.
Answered by @ts-ignore
move the content of your dashboard.js into page.{j,t}sx
View full answer

4 Replies

move the content of your dashboard.js into page.{j,t}sx
Answer
American KestrelOP
okkk!
thanks!