首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏前端大全

    前端国际化完整解决方案——多语言应用开发

    module.exports = nextConfig; // Next.js页面国际化示例 // pages/index.js import { serverSideTranslations } from 'next-i18next /serverSideTranslations'; import { useTranslation } from 'next-i18next'; const HomePage = () => { ); export default HomePage; // 自定义App组件处理国际化 // pages/_app.js import { appWithTranslation } from 'next-i18next

    25810编辑于 2026-03-10
  • 改变渲染顺序实现按需加载,主要可以从以下几个方面入手:

    import { QueryClient, QueryClientProvider } from 'react-query'; import { appWithTranslation } from 'next-i18next

    50200编辑于 2024-12-16
  • 来自专栏趣谈前端

    Next.js实现国际化方案完全指南

    内置数据可视化报表 开箱即用的业务页面模板 支持自定义拖拽看板 集成办公白板 Next全栈最佳实践 支持移动端和PC端自适应 Nextjs 国际化常用方案 Next.js 的国际化插件有很多,以下是其中一些常用的: next-i18next

    2.4K10编辑于 2024-04-14
  • 来自专栏前端大全

    常见AI提示词整理——前端开发与代码生成最佳实践

    ~ Implement internationalization (i18n) for the following React application: - Use react-i18next or next-i18next

    61510编辑于 2026-03-10
领券