Skip to content

Commit

Permalink
bump deps, cleanup docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Sep 24, 2016
1 parent cdd09b5 commit 4fbd216
Show file tree
Hide file tree
Showing 103 changed files with 59 additions and 6,995 deletions.
7 changes: 1 addition & 6 deletions docs/LANGS.md
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/)
11 changes: 7 additions & 4 deletions docs/en/SUMMARY.md
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)
Expand Down
43 changes: 43 additions & 0 deletions docs/en/installation.md
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
```
23 changes: 0 additions & 23 deletions docs/en/npm-debug.log

This file was deleted.

265 changes: 0 additions & 265 deletions docs/en/tutorial.md

This file was deleted.

Binary file removed docs/en/tutorial/result.png
Binary file not shown.
Binary file removed docs/en/tutorial/vuex_flow.png
Binary file not shown.
1 change: 0 additions & 1 deletion docs/es/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions docs/es/SUMMARY.md

This file was deleted.

Loading

0 comments on commit 4fbd216

Please sign in to comment.