nuxt-link does not work in transition-group
See original GitHub issueReproduction link
https://github.com/nuxt-community/nuxt-i18n
Steps to reproduce
- Install nuxt
- Install and configure nuxt-i18n
- Place nuxt-link in transition group with or without localePath()
nuxt.config.js
module.exports = {
mode: 'universal',
modules: [
['nuxt-i18n', {
locales: [
{ code: 'en' },
{ code: 'fr' },
{ code: 'es' }
],
defaultLocale: 'en',
vueI18n: {
fallbackLocale: 'en',
messages: {
en: {
welcome: 'Welcome'
},
fr: {
welcome: 'Bienvenue'
},
es: {
welcome: 'Bienvenido'
}
}
}
}]
]
}
index.vue
<template>
<div>
<transition-group>
<nuxt-link
v-for="i in 3"
:key="i"
to="/new">
New
</nuxt-link>
</transition-group>
</div>
</template>
What is expected ?
Route transition
What is actually happening?
children is undefined
<div align="right">This bug report is available on Nuxt.js community (#c66)</div>Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:11
Top Results From Across the Web
nuxt-link does not work in transition-group · Issue #73 - GitHub
I tried running with npm run dev and npm start , and the issue only occured in dev. The issue also only occurs...
Read more >transition element not working in SSR Nuxt.js - Stack Overflow
I am using <transition> in a component like below with Nuxt.js <template> <transition name="fade"> <div class="modal-container h-screen ...
Read more >Transitions - Nuxt
Nuxt uses the transition component to let you create amazing transitions/animations between your routes.
Read more >CSS Transitions In Vuejs And Nuxtjs - Smashing Magazine
Transitions are a nice way to remove, change, or update data in an application because their occurrence adds a nice effect and is...
Read more >Native-Like Animations for Page Transitions on the Web
Today we'll be discussing how to create them with Vue and Nuxt. There are a lot of moving parts in page transitions and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seeing the same issue here. In
dev
only,nuxt-link
inside atransition-group
withnuxt-i18n
enabled gives the error. Removing any of those 4 makes it work fine.Can’t reproduce it anymore myself. Even with old tests.