title: I want to fetch data from Unsplash API with Axios in Vue
body: <p>I am not sure how to write the params down.</p>
  <p>First component:</p>
  <pre><code>import unsplash from '../apis/unsplash.vue';
  
  export default {
  created() {
      unsplash.get('https://api.unsplash.com/GET/photos/random').then((response)=&gt;{
      params:{
          count:10
      }
      })
  console.log(response.data)
  }};
  &lt;/script&gt;
  </code></pre>
  <p>Second component:</p>
  <pre><code>Vue.use(VueAxios, axios);
  
  const API_KEY=`oozTUUGcoOmOleTWzWgrDTU04NmhO8a-pxF5TmPPNKw`
  
  export default axios.create({
  baseURL:'https://api.unsplash.com',
  params:  {
          API_KEY:API_KEY,
          per_page:10,
          type:&quot;image&quot;}});
  &lt;/script&gt;
  </code></pre>