Build Status Total Downloads Latest Stable Version License

Installation

Clone the repository

composer install

npm install

npm run watch

php artisan migrate

php artisan db:seed

Make axios request

This will get data from user route and update users array in vuex

getData() {

var payload = {

    model: 'user',

    update: 'updateUsersList' 

}

this.$store.dispatch('getItems', payload)

}

After getting the data, you can get the users from this computed function

You have to import mapState at the top of your script tags. Checkout Example.vue

computed: { ...mapState(['users']) }

model update
constituencies updateConstituencies
country updateCounty
county updateCounty
schools updateSchool
score_sets updateScoreSets
score_sheet updateScoreSheet
ward updateWard
statistics updateWard