0đź‘Ť
You forget “$get” when you used “$axios”
async asyncData({ app, params, env, error, store }) {
var _icon = "https://www.google.com/favicon.ico";
try {
var result = await app.$axios.$get(_icon);
} catch (error) {
console.log(error)
}
}
- [Vuejs]-Can users bypass restrictions to certain routes or pages in a vue.js application since all the code is rendered on the client side?
- [Vuejs]-Problems with modifying props directly in vuejs vuex
Source:stackexchange.com