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
Uh oh!
There was an error while loading. Please reload this page.
-
The
nextjstemplate includes a filepages/index.jswhich takes priority as the main file for the home page, even when there is another file in theappfolder (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
undefinedwhen 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