Skip to content

Commit

Permalink
fix: Update link to migration example in error messages (#648 by @out…
Browse files Browse the repository at this point in the history
  • Loading branch information
outloudvi authored Nov 20, 2023
1 parent 12b0ef7 commit 1f3b226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-intl/src/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module.exports = withNextIntl({
function initPlugin(i18nPath?: string, nextConfig?: NextConfig): NextConfig {
if (nextConfig?.i18n != null) {
console.warn(
"\nnext-intl has found an `i18n` config in your next.config.js. This likely causes conflicts and should therefore be removed if you use the App Router.\n\nIf you're in progress of migrating from the `pages` folder, you can refer to this example: https://github.com/amannn/next-intl/tree/main/packages/example-app-router-migration\n"
"\nnext-intl has found an `i18n` config in your next.config.js. This likely causes conflicts and should therefore be removed if you use the App Router.\n\nIf you're in progress of migrating from the `pages` folder, you can refer to this example: https://github.com/amannn/next-intl/tree/main/examples/example-app-router-migration\n"
);
}

Expand Down

2 comments on commit 1f3b226

@vercel
Copy link

@vercel vercel bot commented on 1f3b226 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 1f3b226 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

next-intl-docs – ./docs

next-intl-docs.vercel.app
next-intl-docs-git-main-next-intl.vercel.app
next-intl-docs-next-intl.vercel.app

Please sign in to comment.