我在Vue.js SSR中读过了Client Data Fetching
router.onReady(() => {
// Add router hook for handling asyncData.
// Doing it after initial route is resolved so that we don't double-fetch
// the data that we already have. Using `router.beforeResolve()` so that all
// async components are resolved.
router.beforeResolve((to, from, next) => {
// ....
有一条声明说:
使用
router.beforeResolve()
以便所有异步组件都可用 解决
“异步组件已解决”是什么意思?