指南
📄️ AMP
通过最少的配置,并且无需离开 React,你就可以开始添加 AMP 并提高页面的性能和速度。
📄️ 分析
使用 Next.js 测量和跟踪页面性能
📄️ 身份验证
了解如何在 Next.js 中实现身份验证,包括最佳实践、保护路由、授权技术和会话管理 。
📄️ Babel
使用你自己的配置扩展 Next.js 添加的 babel 预设。
📄️ CI Build Caching
Learn how to configure CI to cache Next.js builds
📄️ Content Security Policy
Learn how to set a Content Security Policy (CSP) for your Next.js application.
📄️ CSS-in-JS
Use CSS-in-JS libraries with Next.js
📄️ Custom Server
Start a Next.js app programmatically using a custom server.
📄️ Debugging
Learn how to debug your Next.js application with VS Code or Chrome DevTools.
📄️ Draft Mode
Next.js 有 draft mode 来在静态和动态页面之间切换。你可以了解它如何与 Pages 路由一起工作。
📄️ Environment Variables
Learn to add and access environment variables in your Next.js application.
📄️ 表单
学习如何在 Next.js 中处理表单提交和数据变更。
📄️ ISR
Learn how to create or update static pages at runtime with Incremental Static Regeneration.
📄️ Instrumentation
Learn how to use instrumentation to run code at server startup in your Next.js app
📄️ 国际化
Next.js 内置支持国际化路由和语言检测。了解更多信息。
📄️ Lazy Loading
Lazy load imported libraries and React Components to improve your application's overall loading performance.
📄️ MDX
Learn how to configure MDX to write JSX in your markdown files.
🗃️ Migrating
3 个项目
📄️ Multi-Zones
Learn how to build micro-frontends using Next.js Multi-Zones to deploy multiple Next.js apps under a single domain.
📄️ OpenTelemetry
Learn how to instrument your Next.js app with OpenTelemetry.
📄️ Package Bundling
Learn how to optimize your application's server and client bundles.
📄️ PostCSS
使用你自己的配置和插件扩展 Next.js 添加的 PostCSS 配置。
📄️ 预览模式
Next.js 具有静态生成页面的预览模式。你可以在这里了解它是如何工作的。
📄️ Production
Recommendations to ensure the best performance and user experience before taking your Next.js application to production.
📄️ Redirecting
Learn the different ways to handle redirects in Next.js.
📄️ Sass
Learn how to use Sass in your Next.js application.
📄️ Scripts
Optimize 3rd party scripts with the built-in Script component.
📄️ Self-Hosting
Learn how to self-host your Next.js application on a Node.js server, Docker image, or static HTML files (static exports).
📄️ Static Exports
Next.js enables starting as a static site or Single-Page Application (SPA), then later optionally upgrading to use features that require a server.
📄️ Tailwind CSS
Style your Next.js Application using Tailwind CSS.
🗃️ Testing
4 个项目
📄️ Third Party Libraries
Optimize the performance of third-party libraries in your application with the `@next/third-parties` package.
🗃️ Upgrading
7 个项目