Hello I'm newbie at `Vue` and `axios`.I have a pure js in my codes and i'm changing the class of the list `items(class="current")` and switching between the tabs and everything is fine.

When I pre-define my categories array like:

```
categories:["Title 1","Title 2","Title 3"]

```

Listing list elements:

```
<li v-for="(category,index) in categories"><a :href="'#'+index"><span>0{{index+1}}</span>{{category}} </a></li>

```

This works well. I can change the class and switch between tabs.

But when I get the categories from the database, javascript doesn't works and i can't see it in the console.

```
new Vue({
    el:"#app",
    data:{
        categories:[],
    },
    mounted(){
     axios
     .get('getCategories.php')
     .then(response => {
        this.categories = response.data;
    })
 }});

```

[Image1:Predefined Array](https://i.stack.imgur.com/eSwwx.png)

[Image2:Generated categories with axios](https://i.stack.imgur.com/VdFjD.png)