README.md 4.5 KB
Newer Older
E
Evan You 已提交
1
<p align="center">
E
Evan You 已提交
2
  <a href="https://vuepress.vuejs.org/" target="_blank">
U
ULIVZ 已提交
3
    <img width="280" src="https://raw.githubusercontent.com/vuejs/vuepress/master/packages/docs/docs/.vuepress/public/hero.png" alt="logo">
E
Evan You 已提交
4
  </a>
E
Evan You 已提交
5 6
</p>

U
ULIVZ 已提交
7 8 9
<p align="center">
  <a href="https://npmcharts.com/compare/vuepress?minimal=true"><img src="https://img.shields.io/npm/dm/vuepress.svg" alt="Downloads"></a>
  <a href="https://www.npmjs.com/package/vuepress"><img src="https://img.shields.io/npm/v/vuepress.svg" alt="Version"></a>
U
ULIVZ 已提交
10
  <a href="https://www.npmjs.com/package/vuepress"><img src="https://badgen.net/npm/v/vuepress/next" alt="npm next version"></a>
U
ULIVZ 已提交
11
  <a href="https://www.npmjs.com/package/vuepress"><img src="https://img.shields.io/npm/l/vuepress.svg" alt="License"></a>
U
ULIVZ 已提交
12
  <a href="https://discordapp.com/invite/HBherRA"><img src="https://img.shields.io/badge/Discord-join%20chat-738bd7.svg" alt="vuepress channel on Discord"></a>
U
ULIVZ 已提交
13 14
</p>

U
ULIVZ 已提交
15
> This is the branch for `VuePress Next`.
U
ULIVZ 已提交
16 17 18

## Status: alpha

U
ULIVZ 已提交
19
Certain combinations of plugins may not work properly, and things may change or break until we reach `beta` phase. Do not use in production yet unless you are adventurous.
U
ULIVZ 已提交
20

U
ULIVZ 已提交
21
For 0.x, it's moved to [0.x branch](https://github.com/vuejs/vuepress/tree/0.x) and still maintained, the website was switching to https://v0.vuepress.vuejs.org.
U
ULIVZ 已提交
22

U
ULIVZ 已提交
23 24
> Note that we are working hard to improve the documentation and contributions welcome if you keep up with the latest changes.

E
init  
Evan You 已提交
25 26 27
# VuePress

> Minimalistic docs generator with Vue component based layout system
E
Evan You 已提交
28

E
link  
Evan You 已提交
29
https://vuepress.vuejs.org/
E
Evan You 已提交
30

U
ULIVZ 已提交
31 32 33 34 35 36 37
## Install

```bash
yarn add vuepress -D       # Install 0.x.x.
yarn add vuepress@next -D  # Install next.
```

E
Evan You 已提交
38 39
## Features

U
ULIVZ 已提交
40 41 42 43 44
**Built-in markdown extensions**

* [Table of Contents](https://vuepress.vuejs.org/guide/markdown.html#table-of-contents)
* [Custom Containers](https://vuepress.vuejs.org/guide/markdown.html#custom-containers)
* [Line Highlighting](https://vuepress.vuejs.org/guide/markdown.html#line-highlighting-in-code-blocks)
U
ULIVZ 已提交
45
* [Line Numbers](https://vuepress.vuejs.org/guide/markdown.html#line-numbers)
U
ULIVZ 已提交
46 47 48 49 50 51 52 53 54
* [Import Code Snippets](https://vuepress.vuejs.org/guide/markdown.html#import-code-snippets)

**Using Vue in Markdown**

* [Templating](https://vuepress.vuejs.org/guide/using-vue.html#templating)
* [Using Components](https://vuepress.vuejs.org/guide/using-vue.html#using-components)

**Vue-powered custom theme system**

M
Marcin 已提交
55 56
* [Metadata](https://vuepress.vuejs.org/theme/writing-a-theme.html#site-and-page-metadata)
* [Content Excerpt](https://vuepress.vuejs.org/theme/writing-a-theme.html#content-excerpt)
U
ULIVZ 已提交
57 58 59 60

**Default theme**

* Responsive layout
M
Marcin 已提交
61 62 63 64 65 66 67
* [Optional Homepage](https://vuepress.vuejs.org/theme/default-theme-config.html#homepage)
* [Simple out-of-the-box header-based search](https://vuepress.vuejs.org/theme/default-theme-config.html#built-in-search)
* [Algolia Search](https://vuepress.vuejs.org/theme/default-theme-config.html#algolia-search)
* Customizable [navbar](https://vuepress.vuejs.org/theme/default-theme-config.html#navbar) and [sidebar](https://vuepress.vuejs.org/theme/default-theme-config.html#sidebar)
* [Auto-generated GitHub link and page edit links](https://vuepress.vuejs.org/theme/default-theme-config.html#git-repo-and-edit-links)
* [PWA: Popup UI to refresh contents](https://vuepress.vuejs.org/theme/default-theme-config.html#popup-ui-to-refresh-contents)
* [Last Updated](https://vuepress.vuejs.org/theme/default-theme-config.html#last-updated)
U
ULIVZ 已提交
68 69 70 71 72 73

**Miscellaneous**

* [Multi-Language Support](https://vuepress.vuejs.org/guide/i18n.html)
* [Service Worker](https://vuepress.vuejs.org/config/#serviceworker)
* [Google Analytics](https://vuepress.vuejs.org/config/#ga)
E
Evan You 已提交
74

U
ULIVZ 已提交
75 76 77 78
## Showcase

Websites built with VuePress:

U
ULIVZ 已提交
79
**Vue Ecosystem**
U
ULIVZ 已提交
80

U
ULIVZ 已提交
81 82 83
* [vue-cli](https://cli.vuejs.org/)
* [vuex](https://vuex.vuejs.org/)
* [vue-server-renderer](https://ssr.vuejs.org/)
U
ULIVZ 已提交
84
* [vue-router](https://router.vuejs.org/)
U
ULIVZ 已提交
85 86 87 88
* [vue-test-utils](https://vue-test-utils.vuejs.org/)
* [vue-loader](https://vue-loader.vuejs.org/)
* [vetur](https://vuejs.github.io/vetur/)
* [rollup-plugin-vue](https://rollup-plugin-vue.vuejs.org/)
U
ULIVZ 已提交
89

U
ULIVZ 已提交
90
**Community**
U
ULIVZ 已提交
91

U
ULIVZ 已提交
92 93
* [cr-vue](https://cr-vue.mio3io.com/)
* [vuesax](https://lusaxweb.github.io/vuesax/)
94
* [vuemeetups](https://vuemeetups.org)
U
ULIVZ 已提交
95

E
Evan You 已提交
96

E
Evan You 已提交
97 98
## Development

U
ULIVZ 已提交
99 100
> Please make sure your version of Node.js is greater than 8.

E
Evan You 已提交
101
``` bash
102
yarn
U
ULIVZ 已提交
103 104
yarn dev  # serves VuePress' own docs with itself
yarn test # make sure your code change pass the test
E
Evan You 已提交
105 106
```

U
ULIVZ 已提交
107 108
If you intend to make `"substantial"` changes to VuePress or its documentation, please checkout [VuePress RFCs](./rfcs/README.md).

E
Evan You 已提交
109 110
## License

U
ULIVZ 已提交
111
[MIT](https://github.com/vuejs/vuepress/blob/master/LICENSE)