README.md 4.0 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 12 13
  <a href="https://www.npmjs.com/package/vuepress"><img src="https://img.shields.io/npm/l/vuepress.svg" alt="License"></a>
</p>

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

## Status: alpha

U
ULIVZ 已提交
18
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 已提交
19

U
ULIVZ 已提交
20
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 已提交
21

E
init  
Evan You 已提交
22 23 24
# VuePress

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

E
link  
Evan You 已提交
26
https://vuepress.vuejs.org/
E
Evan You 已提交
27

U
ULIVZ 已提交
28 29 30 31 32 33 34
## Install

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

E
Evan You 已提交
35 36
## Features

U
ULIVZ 已提交
37 38 39 40 41
**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 已提交
42
* [Line Numbers](https://vuepress.vuejs.org/guide/markdown.html#line-numbers)
U
ULIVZ 已提交
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
* [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**

* [Metadata](https://vuepress.vuejs.org/guide/custom-themes.html#site-and-page-metadata)
* [Content Excerpt](https://vuepress.vuejs.org/guide/custom-themes.html#content-excerpt)

**Default theme**

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

**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 已提交
71

U
ULIVZ 已提交
72 73 74 75
## Showcase

Websites built with VuePress:

U
ULIVZ 已提交
76
**Vue Ecosystem**
U
ULIVZ 已提交
77

U
ULIVZ 已提交
78 79 80
* [vue-cli](https://cli.vuejs.org/)
* [vuex](https://vuex.vuejs.org/)
* [vue-server-renderer](https://ssr.vuejs.org/)
U
ULIVZ 已提交
81
* [vue-router](https://router.vuejs.org/)
U
ULIVZ 已提交
82 83 84 85
* [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 已提交
86

U
ULIVZ 已提交
87
**Community**
U
ULIVZ 已提交
88

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

E
Evan You 已提交
93

E
Evan You 已提交
94 95
## Development

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

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

E
Evan You 已提交
104 105
## License

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