defineRouting - Cannot find module 'next-intl/routing' or its corresponding type declarations.ts(2307) #1429
kliatskiidenis
started this conversation in
General
Replies: 1 comment
-
Hey! Sorry if this was confusing, |
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
-
Hi, I have a project on Nextjs14.1.34 with APP routing, using “next-intl”: “3.14.0”,
The project is configured and working on the app, but I saw in the official documentation that the next-intl settings have changed a bit and the following module appeared:
import {defineRouting} from 'next-intl/routing';
I tried it and got an error: Cannot find module 'next-intl/routing' or its corresponding type declarations.ts(2307)
I'm currently connecting like this:
Questions:
Do I need to replace my customization with defineRouting?
Why is this module not imported, what is the reason?
Could you please tell me?
Beta Was this translation helpful? Give feedback.
All reactions