forked from vuejs/vuex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
103 changed files
with
59 additions
and
6,995 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1 @@ | ||
* [English (1.0)](en/) | ||
* [简体中文 (0.8, outdated)](zh-cn/) | ||
* [Português (0.8, outdated)](pt/) | ||
* [Italiano (0.8, outdated)](it/) | ||
* [Español (0.8, outdated)](es/) | ||
* [日本語 (0.8, outdated)](ja/) | ||
* [English](en/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
# Table of Contents | ||
# Vuex | ||
|
||
> Make sure you read the sections in order. | ||
### Large-scale State Management for Vue.js | ||
|
||
> Note: This is docs for [email protected]. The docs for 1.x is [here](https://github.com/vuejs/vuex/tree/1.0/docs). | ||
- [Release Notes](https://github.com/vuejs/vuex/releases) | ||
- [Installation](installation.md) | ||
- [What is Vuex?](intro.md) | ||
- [Getting Started](getting-started.md) | ||
- [Tutorial](tutorial.md) | ||
- Core Concepts | ||
- [State and Getters](state.md) | ||
- [State](state.md) | ||
- [Mutations](mutations.md) | ||
- [Actions](actions.md) | ||
- [Data Flow](data-flow.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Installation | ||
|
||
### Direct Download / CDN | ||
|
||
[https://unpkg.com/vuex](https://unpkg.com/vuex) | ||
|
||
[Unpkg.com](https://unpkg.com) provides NPM-based CDN links. The above link will always point to the latest release on NPM. You can also use a specific version/tag via URLs like `https://unpkg.com/[email protected]`. | ||
|
||
Include `vuex` after Vue and it will install itself automatically: | ||
|
||
``` html | ||
<script src="/path/to/vue.js"></script> | ||
<script src="/path/to/vuex.js"></script> | ||
``` | ||
|
||
### NPM | ||
|
||
``` bash | ||
npm install vuex | ||
``` | ||
|
||
When used with a module system, you must explicitly install the router via `Vue.use()`: | ||
|
||
``` js | ||
import Vue from 'vue' | ||
import Vuex from 'vuex' | ||
|
||
Vue.use(Vuex) | ||
``` | ||
|
||
You don't need to do this when using global script tags. | ||
|
||
### Dev Build | ||
|
||
You will have to clone directly from GitHub and build `vuex` yourself if | ||
you want to use the latest dev build. | ||
|
||
``` bash | ||
git clone https://github.com/vuejs/vuex.git node_modules/vuex | ||
cd node_modules/vuex | ||
npm install | ||
npm run build | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.