[Vuejs]-How to fetch an online array to a VueJs app

1👍

Remove this line

  then((json) => console.log(json))

You are returning console.log(json) it doesnt make sense

If you want still to log it do it like this

  then(json => {
      console.log(json);
      return json;
   })

Leave a comment