语言环境

本示例展示了如何定义一个区域设置可组合项来处理应用的区域设置(包括服务器端和客户端)。
你可以右键单击 "查看页面源代码",并查看 Nuxt 是否会根据访问者的语言环境在 SSR 中渲染正确的日期。¥You can right-click to "View Page Source" and see that Nuxt renders the correct date in SSR based on the visitor's locale.
Loading Sandbox...