devIndicators doesn't work for app router
#63977
Unanswered
DoneDeal0
asked this question in
App Router
Replies: 2 comments
-
|
I am also having this issue, if I have a project mixed with pages dir and app dir, the devIndicator works in the pages dir even when navigation to a app dir. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
It was reported as issue: #54100 . |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hello,
The
devIndicatorsdoesn't work for theapprouter.Bug
Add the following code to the
next.config.jsfile, as described in the official documentation.Current behaviour
In dev mode, when navigating to a new page (either via
next/navigationrouter ornext/link), no loader is displayed while the page is being compiled.Expected behaviour
In dev mode, when navigating to a new page, a loader should appear while the page is compiling. So we know the app isn't freezing without having to look at the terminal.
Info
How to fix this? Also, I have added a
loading.tsxfile for each page, but they just won't show up.Beta Was this translation helpful? Give feedback.
All reactions