docs: text capitalization for titles (#30054)

This commit is contained in:
@beer 2024-11-26 22:33:30 +06:00 committed by GitHub
parent efa35afbce
commit b74d41e150
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@ navigation.icon: i-ph-exclude-square
Nuxt leverages Vue's [`<Transition>`](https://vuejs.org/guide/built-ins/transition.html#the-transition-component) component to apply transitions between pages and layouts.
::
## Page transitions
## Page Transitions
You can enable page transitions to apply an automatic transition for all your [pages](/docs/guide/directory-structure/pages).
@ -113,7 +113,7 @@ Moving to the about page will add the 3d rotation effect:
<source src="https://res.cloudinary.com/nuxt/video/upload/v1665063233/nuxt3/nuxt3-page-transitions-cutom.mp4" type="video/mp4">
</video>
## Layout transitions
## Layout Transitions
You can enable layout transitions to apply an automatic transition for all your [layouts](/docs/guide/directory-structure/layouts).
@ -225,7 +225,7 @@ definePageMeta({
</script>
```
## Global settings
## Global Settings
You can customize these default transition names globally using `nuxt.config`.
@ -468,6 +468,6 @@ export default defineNuxtRouteMiddleware(to => {
})
```
### Known issues
### Known Issues
- If you perform data fetching within your page setup functions, that you may wish to reconsider using this feature for the moment. (By design, View Transitions completely freeze DOM updates whilst they are taking place.) We're looking at restrict the View Transition to the final moments before `<Suspense>` resolves, but in the interim you may want to consider carefully whether to adopt this feature if this describes you.