|
1 |
| -# Vuex [](https://circleci.com/gh/vuejs/vuex) [](https://www.npmjs.com/package/vuex) |
| 1 | +# Vuex [](https://circleci.com/gh/vuejs/vuex) |
2 | 2 |
|
3 |
| -> Flux-inspired Application Architecture for Vue.js. |
| 3 | +> Centralized State Management for Vue.js. |
4 | 4 |
|
5 | 5 | <p align="center">
|
6 | 6 | <img width="700px" src="https://raw.githubusercontent.com/vuejs/vuex/master/docs/en/vuex.png">
|
7 | 7 | </p>
|
8 | 8 |
|
9 |
| -- [Documentation](http://vuejs.github.io/vuex/) |
10 |
| -- [Great introduction and explanation by @skyronic](http://skyronic.com/2016/01/03/vuex-basics-tutorial/) (using outdated 0.3.0 API, but still worth a read!) |
11 |
| -- [Vuex introduction video - James Browne from London Vue.js Meetup #1](https://www.youtube.com/watch?v=l1KHL-TX3qs) |
| 9 | +- [What is Vuex?](http://vuex.vuejs.org/en/intro.html) |
| 10 | +- [Full Documentation](http://vuex.vuejs.org/) |
12 | 11 |
|
13 | 12 | ## Examples
|
14 | 13 |
|
15 |
| -- [Counter](https://github.com/vuejs/vuex/tree/master/examples/counter) |
16 |
| -- [Counter with Hot Reload](https://github.com/vuejs/vuex/tree/master/examples/counter-hot) |
17 |
| -- [TodoMVC](https://github.com/vuejs/vuex/tree/master/examples/todomvc) |
18 |
| -- [Flux Chat](https://github.com/vuejs/vuex/tree/master/examples/chat) |
19 |
| -- [Shopping Cart](https://github.com/vuejs/vuex/tree/master/examples/shopping-cart) |
| 14 | +- [Counter](https://github.com/vuejs/vuex/tree/dev/examples/counter) |
| 15 | +- [Counter with Hot Reload](https://github.com/vuejs/vuex/tree/dev/examples/counter-hot) |
| 16 | +- [TodoMVC](https://github.com/vuejs/vuex/tree/dev/examples/todomvc) |
| 17 | +- [Flux Chat](https://github.com/vuejs/vuex/tree/dev/examples/chat) |
| 18 | +- [Shopping Cart](https://github.com/vuejs/vuex/tree/dev/examples/shopping-cart) |
20 | 19 |
|
21 | 20 | Running the examples:
|
22 | 21 |
|
23 | 22 | ``` bash
|
24 | 23 | $ npm install
|
25 |
| -$ npm run counter # run the counter example |
| 24 | +$ npm run dev # serve examples at localhost:8080 |
26 | 25 | ```
|
27 | 26 |
|
28 |
| -See [npm scripts](https://github.com/vuejs/vuex/blob/master/package.json#L11-L15) for all example npm scripts. |
29 |
| - |
30 |
| -## Principles |
31 |
| - |
32 |
| -- Terse |
33 |
| -- Testable |
34 |
| -- Reactive |
35 |
| -- Single State Tree |
36 |
| -- Hot Reloading |
37 |
| -- Time Travel (with [vue-devtools](https://github.com/vuejs/vue-devtools) support) |
38 |
| - |
39 | 27 | ## License
|
40 | 28 |
|
41 | 29 | [MIT](http://opensource.org/licenses/MIT)
|
0 commit comments