Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

feat(nuxt): allow passing transition & keepalive props to <NuxtPage> #7492

Merged
merged 3 commits into from
Sep 14, 2022

Conversation

danielroe
Copy link
Member

πŸ”— Linked issue

resolves nuxt/nuxt#14434

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This allows the user to pass transition & keepalive config directly to <NuxtPage> rather than configuring it through default values or route metadata. This should mean it is easier to configure dynamic keepalive/transition configuration. It may also solve the underlying use case for nuxt/nuxt#14874.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroe danielroe added enhancement New feature or request 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing labels Sep 14, 2022
@danielroe danielroe requested a review from pi0 September 14, 2022 08:32
@danielroe danielroe self-assigned this Sep 14, 2022
@netlify
Copy link

netlify bot commented Sep 14, 2022

βœ… Deploy Preview for nuxt3-docs canceled.

Name Link
πŸ”¨ Latest commit 966df0d
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/632194c003f15a00094d69a0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.x enhancement New feature or request 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

transitions/keepalive config via <NuxtPage> props
2 participants