Issue: 3068

Examples: ensure the readiness of Nuxt

[issue link]

The examples mounts the middleware without waiting for readiness:


This applies to our own commands as well.


Although in practice this have never caused an issue, we should document the fact that Nuxt itself is initialized asynchronously, and ensure the readiness before actually starting the server.

This question is available on Nuxt.js community (#c2655)