2.4.4
https://jsfiddle.net/okjesse/k94fphsg/
keep-alive include parameter is not worked with router-view
Home is not keep alived
home is keep alived
keep-alive include works on component names, not route names. Your Foo component doesn't have a name.
It happens because you have not given Home component a name
@sqal thank you,it's woks
Hi sqal,
In both the problem fiddle & your solution fiddle, both components have names,
const Home = { name: 'Home',
const Foo = { name: 'Foo'
so not sure when you say
It happens because you have not given Home component a name
Kindly clarify.
thanks
Most helpful comment
keep-alive include works on component names, not route names. Your Foo component doesn't have a name.