@yamland Maybe it’s a little bit too late for this topic, but I figured an easy way to “pre-render” pages. Given the fact that /src/App.vue will run only once at the app bootup, we can do a few $router.push in the created hook in /src/App.vue. And because we are using <keep-alive></keep-alive> for router-views, we can keep the rendered pages even if we route back to “/”. So from the view of users, only home screen is shown. Implementation is pretty simple.
created () {
this.$router.push('page1').then(() => {
this.$router.push('page2').then(() => {
this.$router.push('/')
})
})
}