vue-cli-plugin-prerender-spa
vue-cli-plugin-prerender-spa copied to clipboard
queries and x-app-rendered
mounted: () => {
this.$nextTick( function () {
// Code that will run only after the
// entire view has been rendered
document.dispatchEvent(new Event("x-app-rendered"))
})
},
see also #39 I wonder if there is a way to fire the event programmatically after all request of a route are resolved. The idea above does not work. Doing it manually with each query is uncomfortable.