Is there any way to use the app router in the nextjs
template?
#1237
Unanswered
anton-series
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
nextjs
template includes a filepages/index.js
which takes priority as the main file for the home page, even when there is another file in theapp
folder (app/page.tsx).Is there any way to delete this file or somehow configure Next to use another file as the default? I tried overriding it to
undefined
when passing files to Sandpack, as well as using rewrites in next.config.js but I am still getting the default "Hello world" page.Beta Was this translation helpful? Give feedback.
All reactions