Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vuejs/vuex
🗃️ Centralized State Management for Vue.js.
https://github.com/vuejs/vuex
javascript state-management time-travel vue vuex
Last synced: 6 days ago
JSON representation
🗃️ Centralized State Management for Vue.js.
- Host: GitHub
- URL: https://github.com/vuejs/vuex
- Owner: vuejs
- License: mit
- Created: 2015-07-16T04:21:26.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-09-25T13:26:41.000Z (4 months ago)
- Last Synced: 2024-10-29T10:17:43.658Z (2 months ago)
- Topics: javascript, state-management, time-travel, vue, vuex
- Language: JavaScript
- Homepage: https://vuex.vuejs.org
- Size: 15.8 MB
- Stars: 28,416
- Watchers: 759
- Forks: 9,572
- Open Issues: 144
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/contributing.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-vue-cn - **vuex ★1,200** - Flux/Redux inspired application architecture for Vue.js. (Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) / Libraries & Plugins)
- awesomeLibrary - vuex - 🗃️ Centralized State Management for Vue.js. (语言资源库 / JavaScript)
- awesome-state - vuex
- awesome-ccamel - vuejs/vuex - 🗃️ Centralized State Management for Vue.js. (JavaScript)
- awesome-starred-test - vuejs/vuex - 🗃️ Centralized State Management for Vue.js. (JavaScript)
- awesome-whatthefar - Vuex
- awesome-github-star - vuex
- awesome-frontend - vuex
- awesome-svelte-stores - VueX
- StarryDivineSky - vuejs/vuex
- awesome-github-vue - vuex - 专为 Vue.js 应用程序开发的状态管理模式 (实用库)
- awesome-vue - vuex - 专为 Vue.js 应用程序开发的状态管理模式 (实用库)
- awesome-f2e-libs - **vuex**
- awesome-github-vue - vuex - 专为 Vue.js 应用程序开发的状态管理模式 (实用库)
- awesome-starred - vuejs/vuex - 🗃️ Centralized State Management for Vue.js. (vue)
- awesome - vuex - 专为 Vue.js 应用程序开发的状态管理模式 (实用库)
- awesome-vue - vuex - 专为 Vue.js 应用程序开发的状态管理模式 (实用库)
- awesome - vuejs/vuex - 🗃️ Centralized State Management for Vue.js. (JavaScript)
- awesome - vuejs/vuex - 🗃️ Centralized State Management for Vue.js. (JavaScript)
- awesome-starred - vuex - 🗃️ Centralized State Management for Vue.js. (JavaScript)
README
# Vuex
[![npm](https://img.shields.io/npm/v/vuex.svg)](https://npmjs.com/package/vuex)
[![ci status](https://github.com/vuejs/vuex/actions/workflows/ci.yml/badge.svg)](https://github.com/vuejs/vuex/actions/workflows/ci.yml)---
**Pinia is now the new default**
The 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.
Vuex 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.
---
Vuex 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.
Learn more about Vuex at "[What is Vuex?](https://vuex.vuejs.org/)", or get started by looking into [full documentation](http://vuex.vuejs.org/).
## Documentation
To check out docs, visit [vuex.vuejs.org](https://vuex.vuejs.org/).
## Examples
You may find example applications built with Vuex under the `examples` directory.
Running the examples:
```bash
$ npm install
$ npm run dev # serve examples at localhost:8080
```## Questions
For 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.
## Issues
Please 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.
## Changelog
Detailed changes for each release are documented in the [release notes](https://github.com/vuejs/vuex/releases).
## Stay In Touch
For latest releases and announcements, follow on Twitter: [@vuejs](https://twitter.com/vuejs).
## Contribution
Please make sure to read the [Contributing Guide](https://github.com/vuejs/vuex/blob/main/.github/contributing.md) before making a pull request.
## License
[MIT](http://opensource.org/licenses/MIT)
Copyright (c) 2015-present Evan You