a3915377bd
- Added RootLayout component to handle locale and message loading. - Created Home page with header, about info, products, and story sections. - Developed ProductPage for displaying product categories and products. - Implemented ProductsPage to list product categories with banners. - Added Projects page with a grid layout for project display. - Configured server settings for port and host. - Established navigation and routing for internationalization. - Set up request handling for locale and message retrieval. - Defined routing structure for supported locales. - Created middleware for locale-based routing. - Defined layout parameters for locale handling.
13 lines
283 B
TypeScript
13 lines
283 B
TypeScript
import { NextConfig } from 'next';
|
|
import createNextIntlPlugin from 'next-intl/plugin';
|
|
|
|
const withNextIntl = createNextIntlPlugin({
|
|
experimental: {
|
|
createMessagesDeclaration: './messages/en.json',
|
|
},
|
|
});
|
|
|
|
const config: NextConfig = {};
|
|
|
|
export default withNextIntl(config);
|