How to add logic on root vue instance mounted or created method so I can handle page refresh? [issue link] How to add logic on root vue instance so I can handle page refresh? How do I do this in nuxt SPA mode? new Vue({ el: '#app', mounted() { // Get User Object from API }, created() { // do something } }) This question is available on Nuxt.js community (#c1808)