{"id":18295087,"url":"https://github.com/ratonbiswas/vue-learning","last_synced_at":"2026-04-12T20:35:51.241Z","repository":{"id":169172951,"uuid":"644856717","full_name":"RatonBiswas/vue-learning","owner":"RatonBiswas","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-27T11:33:18.000Z","size":265,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T08:34:55.329Z","etag":null,"topics":["firebase","firebase-auth","vuejs","vuex"],"latest_commit_sha":null,"homepage":"https://icoaches.netlify.app/coaches","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RatonBiswas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-24T11:58:25.000Z","updated_at":"2023-08-29T16:25:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"f74e5584-c63e-41d0-81cb-6556301749a0","html_url":"https://github.com/RatonBiswas/vue-learning","commit_stats":null,"previous_names":["ratonbiswas/vue-learning"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RatonBiswas/vue-learning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RatonBiswas%2Fvue-learning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RatonBiswas%2Fvue-learning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RatonBiswas%2Fvue-learning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RatonBiswas%2Fvue-learning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RatonBiswas","download_url":"https://codeload.github.com/RatonBiswas/vue-learning/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RatonBiswas%2Fvue-learning/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265843882,"owners_count":23837481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["firebase","firebase-auth","vuejs","vuex"],"created_at":"2024-11-05T14:33:18.898Z","updated_at":"2026-04-12T20:35:46.212Z","avatar_url":"https://github.com/RatonBiswas.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-learning\n\n\n### Vuex terms \n# State \nApp-level state/data (it should be posts, token , todos, etc)\n# Getters \nGet pieces of state or computed values from state\n# Actions \ncalled from components to commit a mutation\n# Mutations\nMutate the state (Update data etc)\n# Modules \nEach module can have its own state , getters, actions and mutationas (Auth modules, Posts module, etc)\n\n### Accessing Mutations and Actions\n# When accessing mutations and actions, you can simply provide the commit and dispatch method inside the setup hook.\n\u003cscript setup\u003e\nimport { computed } from 'vue'\nimport { useStore } from 'vuex'\nconst store = useStore()\n\n     // access a mutation\n     const increment = ()=\u003estore.commit('increment'),\n\n      // access an action\n      const asyncIncrement = ()=\u003e store.dispatch('asyncIncrement')\n    \n\u003c/script\u003e\n\n\n### Accessing State and Getters#\n# In order to access state and getters, you will want to create computed references to retain reactivity. This is the equivalent of creating computed properties using the Option API.\n\u003cscript setup\u003e\nimport { computed } from 'vue'\nimport { useStore } from 'vuex'\n\n    const store = useStore()\n\n      // access a state in computed function\n     const count = computed(() =\u003e store.state.count),\n\n      // access a getter in computed function\n      const double = computed(() =\u003e store.getters.double)\n\u003c/script\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fratonbiswas%2Fvue-learning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fratonbiswas%2Fvue-learning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fratonbiswas%2Fvue-learning/lists"}