2022-03-30 15:59:28 +00:00
|
|
|
---
|
2022-10-06 09:15:30 +00:00
|
|
|
title: "Locale"
|
|
|
|
description: "This example shows how to define a locale composable to handle the application's locale, both server and client side."
|
2022-03-30 15:59:28 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
::alert{type=info icon=💡}
|
2022-04-16 13:53:36 +00:00
|
|
|
You can right-click to "View Page Source" and see that Nuxt renders the correct date in SSR based on the visitor's locale.
|
2022-03-30 15:59:28 +00:00
|
|
|
::
|
|
|
|
|
|
|
|
::sandbox{repo="nuxt/framework" branch="main" dir="examples/other/locale" file="app.vue"}
|