Async app context in Vue.js using promises

How to initialize app context in Vue.js app using promises