Initial commit
This commit is contained in:
12
apps/web/i18n/routing.ts
Normal file
12
apps/web/i18n/routing.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { defineRouting } from 'next-intl/routing';
|
||||
import { locales, defaultLocale } from '@dwellops/i18n';
|
||||
|
||||
/**
|
||||
* next-intl routing configuration.
|
||||
* Locale-prefixed routes: /en/dashboard, etc.
|
||||
*/
|
||||
export const routing = defineRouting({
|
||||
locales,
|
||||
defaultLocale,
|
||||
localePrefix: 'always',
|
||||
});
|
||||
Reference in New Issue
Block a user