8000 bump deps, cleanup docs · poorprogrammer/vuejs.org@4fbd216 · GitHub
[go: up one dir, main page]

Skip to content {"props":{"docsUrl":"https://docs.github.com/get-started/accessibility/keyboard-shortcuts"}}

Commit 4fbd216

Browse files
committed
bump deps, cleanup docs
1 parent cdd09b5 commit 4fbd216
8000

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+59
-6995
lines changed

docs/LANGS.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
* [English (1.0)](en/)
2-
* [简体中文 (0.8, outdated)](zh-cn/)
3-
* [Português (0.8, outdated)](pt/)
4-
* [Italiano (0.8, outdated)](it/)
5-
* [Español (0.8, outdated)](es/)
6-
* [日本語 (0.8, outdated)](ja/)
1+
* [English](en/)

docs/en/SUMMARY.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
# Table of Contents
1+
# Vuex
22

3-
> Make sure you read the sections in order.
3+
### Large-scale State Management for Vue.js
44

5+
> Note: This is docs for vuex@2.x. The docs for 1.x is [here](https://github.com/vuejs/vuex/tree/1.0/docs).
6+
7+
- [Release Notes](https://github.com/vuejs/vuex/releases)
8+
- [Installation](installation.md)
59
- [What is Vuex?](intro.md)
610
- [Getting Started](getting-started.md)
7-
- [Tutorial](tutorial.md)
811
- Core Concepts
9-
- [State and Getters](state.md)
12+
- [State](state.md)
1013
- [Mutations](mutations.md)
1114
- [Actions](actions.md)
1215
- [Data Flow](data-flow.md)

docs/en/installation.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Installation
2+
3+
### Direct Download / CDN
4+
5+
[https://unpkg.com/vuex](https://unpkg.com/vuex)
6+
7+
[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/vuex@2.0.0`.
8+
9+
Include `vuex` after Vue and it will install itself automatically:
10+
11+
``` html
12+
<script src="/path/to/vue.js"></script>
13+
<script src="/path/to/vuex.js"></script>
14+
```
15+
16+
### NPM
17+
18+
``` bash
19+
npm install vuex
20+
```
21+
22+
When used with a module system, you must explicitly install the router via `Vue.use()`:
23+
24+
``` js
25+
import Vue from 'vue'
26+
import Vuex from 'vuex'
27+
28+
Vue.use(Vuex)
29+
```
30+
31+
You don't need to do this when using global script tags.
32+
33+
### Dev Build
34+
35+
You will have to clone directly from GitHub and build `vuex` yourself if
36+
you want to use the latest dev build.
37+
38+
``` bash
39+
git clone https://github.com/vuejs/vuex.git node_modules/vuex
40+
cd node_modules/vuex
41+
npm install
42+
npm run build
43+
```

docs/en/npm-debug.log

Lines changed: 0 additions & 23 deletions
This file was deleted.

docs/en/tutorial.md

Lines changed: 0 additions & 265 deletions
This file was deleted.

docs/en/tutorial/result.png

-117 KB
Binary file not shown.

docs/en/tutorial/vuex_flow.png

-601 KB
Binary file not shown.

docs/es/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/es/SUMMARY.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0