{"id":13396662,"url":"https://github.com/vuejs/vuex","last_synced_at":"2025-05-12T16:12:21.246Z","repository":{"id":37335580,"uuid":"39176269","full_name":"vuejs/vuex","owner":"vuejs","description":"🗃️ Centralized State Management for Vue.js.","archived":false,"fork":false,"pushed_at":"2024-09-25T13:26:41.000Z","size":16581,"stargazers_count":28460,"open_issues_count":144,"forks_count":9561,"subscribers_count":761,"default_branch":"main","last_synced_at":"2025-05-05T14:09:53.421Z","etag":null,"topics":["javascript","state-management","time-travel","vue","vuex"],"latest_commit_sha":null,"homepage":"https://vuex.vuejs.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vuejs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/contributing.md","funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["yyx990803","kiaking","ktsn"],"open_collective":"vuejs","patreon":"evanyou"}},"created_at":"2015-07-16T04:21:26.000Z","updated_at":"2025-05-05T08:28:46.000Z","dependencies_parsed_at":"2023-11-24T05:08:08.012Z","dependency_job_id":"b97d2026-167b-4a35-93f5-79244518ffc9","html_url":"https://github.com/vuejs/vuex","commit_stats":{"total_commits":1129,"total_committers":339,"mean_commits":3.330383480825959,"dds":0.6837909654561558,"last_synced_commit":"bd907467b8392d6671bb115738285ff7f63d0cf6"},"previous_names":[],"tags_count":62,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuejs%2Fvuex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuejs%2Fvuex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuejs%2Fvuex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuejs%2Fvuex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vuejs","download_url":"https://codeload.github.com/vuejs/vuex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253774006,"owners_count":21962198,"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":["javascript","state-management","time-travel","vue","vuex"],"created_at":"2024-07-30T18:00:59.173Z","updated_at":"2025-05-12T16:12:21.196Z","avatar_url":"https://github.com/vuejs.png","language":"JavaScript","funding_links":["https://github.com/sponsors/yyx990803","https://github.com/sponsors/kiaking","https://github.com/sponsors/ktsn","https://opencollective.com/vuejs","https://patreon.com/evanyou"],"categories":["JavaScript","vue","Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)","Frontend Vue","框架","Inspired State Management","前端开发框架及项目","数据流","实用库","Skill list","javascript","语言资源库","公用事业","Components \u0026 Libraries","Utilities","Awesome Vue.js","Utilities [🔝](#readme)","2. JavaScript 框架汇总"],"sub_categories":["Libraries \u0026 Plugins","State Management","Vue.js","其他_文本生成、文本对话","macros","JavaScript","国家管理","Utilities"],"readme":"# Vuex\n\n[![npm](https://img.shields.io/npm/v/vuex.svg)](https://npmjs.com/package/vuex)\n[![ci status](https://github.com/vuejs/vuex/actions/workflows/ci.yml/badge.svg)](https://github.com/vuejs/vuex/actions/workflows/ci.yml)\n\n---\n\n**Pinia is now the new default**\n\nThe official state management library for Vue has changed to [Pinia](https://pinia.vuejs.org). Pinia has almost the exact same or enhanced API as Vuex 5, described in [Vuex 5 RFC](https://github.com/vuejs/rfcs/pull/271). You could simply consider Pinia as Vuex 5 with a different name. Pinia also works with Vue 2.x as well.\n\nVuex 3 and 4 will still be maintained. However, it's unlikely to add new functionalities to it. Vuex and Pinia can be installed in the same project. If you're migrating existing Vuex app to Pinia, it might be a suitable option. However, if you're planning to start a new project, we highly recommend using Pinia instead.\n\n---\n\nVuex is a state management pattern + library for Vue.js applications. It serves as a centralized store for all the components in an application, with rules ensuring that the state can only be mutated in a predictable fashion. It also integrates with Vue's official [devtools extension](https://github.com/vuejs/vue-devtools) to provide advanced features such as zero-config time-travel debugging and state snapshot export / import.\n\nLearn more about Vuex at \"[What is Vuex?](https://vuex.vuejs.org/)\", or get started by looking into [full documentation](http://vuex.vuejs.org/).\n\n## Documentation\n\nTo check out docs, visit [vuex.vuejs.org](https://vuex.vuejs.org/).\n\n## Examples\n\nYou may find example applications built with Vuex under the `examples` directory.\n\nRunning the examples:\n\n```bash\n$ npm install\n$ npm run dev # serve examples at localhost:8080\n```\n\n## Questions\n\nFor questions and support please use the [Discord chat server](https://chat.vuejs.org) or [the official forum](http://forum.vuejs.org). The issue list of this repo is **exclusively** for bug reports and feature requests.\n\n## Issues\n\nPlease make sure to read the [Issue Reporting Checklist](https://github.com/vuejs/vuex/blob/main/.github/contributing.md#issue-reporting-guidelines) before opening an issue. Issues not conforming to the guidelines may be closed immediately.\n\n## Changelog\n\nDetailed changes for each release are documented in the [release notes](https://github.com/vuejs/vuex/releases).\n\n## Stay In Touch\n\nFor latest releases and announcements, follow on Twitter: [@vuejs](https://twitter.com/vuejs).\n\n## Contribution\n\nPlease make sure to read the [Contributing Guide](https://github.com/vuejs/vuex/blob/main/.github/contributing.md) before making a pull request.\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2015-present Evan You\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvuejs%2Fvuex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvuejs%2Fvuex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvuejs%2Fvuex/lists"}