Closed
Description
What problem does this feature solve?
For now there is no full support for vue
async components
described here:
https://vuejs.org/v2/guide/components-dynamic-async.html#Handling-Loading-State
Solution presented in:
#2140
https://github.com/chrisvfritz/vue-enterprise-boilerplate/blob/master/src/router/routes.js
is solving problem only partially because of such construction beforeRouteEnter
etc guards are not launched due to fact that component is resolved inside another component after route update
This problem is also mentioned here:
https://forum.vuejs.org/t/vue-router-async-component-loading-error-components-never-shown/40618/2
What does the proposed API look like?
Update doc with information that this syntax is not working with vue-router
.