Posts by Raphael Santos • 11 points
1 post
-
1
votes0
answers89
viewsQ: Types of Vuex using getters
import * as types from './types' export default { // -=-=-==- OK -=-=-=-== // //return first item first(state, getters){ return getters.list[0]; }, //retorn all itens from my api list: state => {…