Using keep-alive to cache page error in vue

problem description

add demo to router-view according to the demo that can be found on the Internet (not the official website of vue).

Dec.23,2021

failed to resolve directive if
found in anonymous component-use the "name" option for better debugging messages

roughly means failing to find instructions in the component and then using name to better prompt

are you the same version as demo vue on the Internet?

Menu