[Vuejs]-Bind root data in child component

0👍

In the main.js, please try it.

new Vue({
  router,
  store,
  vuetify,
  render: h => h(App),
  async mounted() {
    let response = await axios.get('/app-api/call')
    _this.response = response.data
  }
}).$mount("#app")

Leave a comment