MyGit

vuejs/vuex

Fork: 9574 Star: 28417 (更新于 2024-11-27 09:21:03)

license: MIT

Language: JavaScript .

🗃️ Centralized State Management for Vue.js.

最后发布版本: v4.0.2 ( 2021-06-17 23:52:07)

官方网址 GitHub网址

Vuex

npm ci status


Pinia is now the new default

The official state management library for Vue has changed to Pinia. Pinia has almost the exact same or enhanced API as Vuex 5, described in Vuex 5 RFC. 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 to provide advanced features such as zero-config time-travel debugging and state snapshot export / import.

Learn more about Vuex at "What is Vuex?", or get started by looking into full documentation.

Documentation

To check out docs, visit vuex.vuejs.org.

Examples

You may find example applications built with Vuex under the examples directory.

Running the examples:

$ npm install
$ npm run dev # serve examples at localhost:8080

Questions

For questions and support please use the Discord chat server or the official forum. The issue list of this repo is exclusively for bug reports and feature requests.

Issues

Please make sure to read the Issue Reporting Checklist 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.

Stay In Touch

For latest releases and announcements, follow on Twitter: @vuejs.

Contribution

Please make sure to read the Contributing Guide before making a pull request.

License

MIT

Copyright (c) 2015-present Evan You

最近版本更新:(数据更新于 2024-10-15 21:44:55)

2021-06-17 23:52:07 v4.0.2

2021-05-24 23:08:58 v4.0.1

2021-02-02 22:51:33 v4.0.0

2021-01-26 22:35:06 v3.6.2

2021-01-26 19:47:00 v3.6.1

2020-11-26 00:01:09 v4.0.0-rc.2

2020-11-25 23:58:30 v3.6.0

2020-10-30 22:15:23 v4.0.0-rc.1

2020-06-29 23:40:08 v4.0.0-beta.4

2020-06-29 23:39:37 v3.5.1

主题(topics):

javascript, state-management, time-travel, vue, vuex

vuejs/vuex同语言 JavaScript最近更新仓库

2024-12-22 00:44:14 gorhill/uBlock

2024-12-21 12:14:02 layui/layui

2024-12-21 08:27:48 gethomepage/homepage

2024-12-21 03:44:01 emberjs/ember.js

2024-12-20 02:57:09 nodejs/node

2024-12-19 17:54:54 MHSanaei/3x-ui