Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i use it in Nextjs13 appDir #1861

Open
gimwachan-git opened this issue Sep 12, 2023 · 1 comment
Open

How can i use it in Nextjs13 appDir #1861

gimwachan-git opened this issue Sep 12, 2023 · 1 comment

Comments

@gimwachan-git
Copy link

I've seen the example on https://github.com/tanem/react-nprogress/tree/master/examples/next-router.
However, when I switch to appDir mode, I find that I can't use next/router in either layout.tsx or template.tsx.
Additionally, router.events seems to be missing in next/navigation.

@tanem tanem assigned tanem and unassigned tanem Sep 17, 2023
@tanem
Copy link
Owner

tanem commented Sep 17, 2023

Thanks for the report @gimwachan-git, will take a look ASAP 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants