vuejs/vuex
This is an external open-source GitHub repository imported into the WOCSOL Marketplace for discovery. The original repository owner is the primary creator.
Repository Details
Repository Description
๐๏ธ Centralized State Management for Vue.js.
๐๏ธ Centralized State Management for Vue.js.
# Vuex [](https://npmjs.com/package/vuex) [](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 supp
Related Repositories
Product Discussion
Ask questions or discuss this product. New comments are reviewed before publishing.
Loading comments...