### Version 4.0.0-alpha.13 ### Reproduction link [https://codesandbox.io/s/fancy-shadow-04mrv?file=/package.json](https://codesandbox.io/s/fancy-shadow-04mrv?file=/package.json) ### Steps to reproduce You can see the error within the reproduction link while changing routes ### What is expected? Page transition to work as expected ### What is actually happening? Cannot read _leaveCb property --- As Evan You commented here (https://github.com/vitejs/vite/issues/482#issuecomment-651907085) this is liekly a vue-router Vue 3 issue. Can you please have a look? <!-- generated by vue-issues. DO NOT REMOVE -->