[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-2885":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":24,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},2885,"vuex","vuejs\u002Fvuex","vuejs","🗃️ Centralized State Management for Vue.js.","https:\u002F\u002Fvuex.vuejs.org",null,"JavaScript",28346,9462,744,99,0,1,4,3,72.9,"MIT License",false,"main",true,[26,27,28,29,5],"javascript","state-management","time-travel","vue","2026-06-12 04:00:16","# Vuex\n\n[![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Fvuex.svg)](https:\u002F\u002Fnpmjs.com\u002Fpackage\u002Fvuex)\n[![ci status](https:\u002F\u002Fgithub.com\u002Fvuejs\u002Fvuex\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fvuejs\u002Fvuex\u002Factions\u002Fworkflows\u002Fci.yml)\n\n---\n\n**Pinia is now the new default**\n\nThe official state management library for Vue has changed to [Pinia](https:\u002F\u002Fpinia.vuejs.org). Pinia has almost the exact same or enhanced API as Vuex 5, described in [Vuex 5 RFC](https:\u002F\u002Fgithub.com\u002Fvuejs\u002Frfcs\u002Fpull\u002F271). 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:\u002F\u002Fgithub.com\u002Fvuejs\u002Fvue-devtools) to provide advanced features such as zero-config time-travel debugging and state snapshot export \u002F import.\n\nLearn more about Vuex at \"[What is Vuex?](https:\u002F\u002Fvuex.vuejs.org\u002F)\", or get started by looking into [full documentation](http:\u002F\u002Fvuex.vuejs.org\u002F).\n\n## Documentation\n\nTo check out docs, visit [vuex.vuejs.org](https:\u002F\u002Fvuex.vuejs.org\u002F).\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:\u002F\u002Fchat.vuejs.org) or [the official forum](http:\u002F\u002Fforum.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:\u002F\u002Fgithub.com\u002Fvuejs\u002Fvuex\u002Fblob\u002Fmain\u002F.github\u002Fcontributing.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:\u002F\u002Fgithub.com\u002Fvuejs\u002Fvuex\u002Freleases).\n\n## Stay In Touch\n\nFor latest releases and announcements, follow on Twitter: [@vuejs](https:\u002F\u002Ftwitter.com\u002Fvuejs).\n\n## Contribution\n\nPlease make sure to read the [Contributing Guide](https:\u002F\u002Fgithub.com\u002Fvuejs\u002Fvuex\u002Fblob\u002Fmain\u002F.github\u002Fcontributing.md) before making a pull request.\n\n## License\n\n[MIT](http:\u002F\u002Fopensource.org\u002Flicenses\u002FMIT)\n\nCopyright (c) 2015-present Evan You\n","Vuex 是 Vue.js 应用程序的集中状态管理库。它提供了一个中心化的存储空间，用于存放应用中所有组件的状态，并通过规则确保状态只能以可预测的方式进行修改。此外，Vuex 还与 Vue 的官方开发工具扩展集成，支持零配置的时间旅行调试和状态快照导出\u002F导入等高级功能。尽管目前 Vue 官方推荐使用 Pinia 作为新的默认状态管理库，但 Vuex 仍然适用于需要稳定性和兼容性的现有项目，特别是在已经大量使用 Vuex 的情况下。对于新项目，建议考虑采用 Pinia。",2,"2026-06-11 02:51:29","top_language"]